public void setOverrideAllowedPrefixesToDirectConnectGateway(java.util.Collection<RouteFilterPrefix> overrideAllowedPrefixesToDirectConnectGateway) {
        if (overrideAllowedPrefixesToDirectConnectGateway == null) {
            this.overrideAllowedPrefixesToDirectConnectGateway = null;
            return;
        }

        this.overrideAllowedPrefixesToDirectConnectGateway = new com.amazonaws.internal.SdkInternalList<RouteFilterPrefix>(
                overrideAllowedPrefixesToDirectConnectGateway);
    }
public void setOverrideAllowedPrefixesToDirectConnectGateway ( java . util . Collection < RouteFilterPrefix > overrideAllowedPrefixesToDirectConnectGateway ) { if ( overrideAllowedPrefixesToDirectConnectGateway == null ) { this . overrideAllowedPrefixesToDirectConnectGateway = null ; return ; } this . overrideAllowedPrefixesToDirectConnectGateway = new com . amazonaws . internal . SdkInternalList < RouteFilterPrefix > ( overrideAllowedPrefixesToDirectConnectGateway ) ; }
<p>
Overrides the Amazon VPC prefixes advertised to the Direct Connect gateway.
</p>

@param overrideAllowedPrefixesToDirectConnectGateway
Overrides the Amazon VPC prefixes advertised to the Direct Connect gateway.