code: public java.util.List<RouteFilterPrefix> getOverrideAllowedPrefixesToDirectConnectGateway() {
          if (overrideAllowedPrefixesToDirectConnectGateway == null) {
              overrideAllowedPrefixesToDirectConnectGateway = new com.amazonaws.internal.SdkInternalList<RouteFilterPrefix>();
          }
          return overrideAllowedPrefixesToDirectConnectGateway;
      }
docs: <p>
  Overrides the Amazon VPC prefixes advertised to the Direct Connect gateway.
  </p>
  
  @return Overrides the Amazon VPC prefixes advertised to the Direct Connect gateway.