<p>
The Direct Connect gateways.
</p>

@param directConnectGateways
The Direct Connect gateways.
777954
public void setDirectConnectGateways(java.util.Collection<DirectConnectGateway> directConnectGateways) {
        if (directConnectGateways == null) {
            this.directConnectGateways = null;
            return;
        }

        this.directConnectGateways = new com.amazonaws.internal.SdkInternalList<DirectConnectGateway>(directConnectGateways);
    }
828917
public java.util.List<RouteFilterPrefix> getExistingAllowedPrefixesToDirectConnectGateway() {
        if (existingAllowedPrefixesToDirectConnectGateway == null) {
            existingAllowedPrefixesToDirectConnectGateway = new com.amazonaws.internal.SdkInternalList<RouteFilterPrefix>();
        }
        return existingAllowedPrefixesToDirectConnectGateway;
    }
127327
public void setConnectIps(java.util.Collection<String> connectIps) {
        if (connectIps == null) {
            this.connectIps = null;
            return;
        }

        this.connectIps = new com.amazonaws.internal.SdkInternalList<String>(connectIps);
    }
659225
public void setInternetGateways(java.util.Collection<InternetGateway> internetGateways) {
        if (internetGateways == null) {
            this.internetGateways = null;
            return;
        }

        this.internetGateways = new com.amazonaws.internal.SdkInternalList<InternetGateway>(internetGateways);
    }
1283303
public java.util.List<DirectConnectGatewayAssociation> getDirectConnectGatewayAssociations() {
        if (directConnectGatewayAssociations == null) {
            directConnectGatewayAssociations = new com.amazonaws.internal.SdkInternalList<DirectConnectGatewayAssociation>();
        }
        return directConnectGatewayAssociations;
    }
1135838
public void setDirectConnectGatewayAssociations(java.util.Collection<DirectConnectGatewayAssociation> directConnectGatewayAssociations) {
        if (directConnectGatewayAssociations == null) {
            this.directConnectGatewayAssociations = null;
            return;
        }

        this.directConnectGatewayAssociations = new com.amazonaws.internal.SdkInternalList<DirectConnectGatewayAssociation>(directConnectGatewayAssociations);
    }
526079
public void setNatGateways(java.util.Collection<NatGateway> natGateways) {
        if (natGateways == null) {
            this.natGateways = null;
            return;
        }

        this.natGateways = new com.amazonaws.internal.SdkInternalList<NatGateway>(natGateways);
    }
1257124
public java.util.List<RouteFilterPrefix> getRequestedAllowedPrefixesToDirectConnectGateway() {
        if (requestedAllowedPrefixesToDirectConnectGateway == null) {
            requestedAllowedPrefixesToDirectConnectGateway = new com.amazonaws.internal.SdkInternalList<RouteFilterPrefix>();
        }
        return requestedAllowedPrefixesToDirectConnectGateway;
    }
757185
public void setVpnGatewayIds(java.util.Collection<String> vpnGatewayIds) {
        if (vpnGatewayIds == null) {
            this.vpnGatewayIds = null;
            return;
        }

        this.vpnGatewayIds = new com.amazonaws.internal.SdkInternalList<String>(vpnGatewayIds);
    }
492816
public void setNatGatewayIds(java.util.Collection<String> natGatewayIds) {
        if (natGatewayIds == null) {
            this.natGatewayIds = null;
            return;
        }

        this.natGatewayIds = new com.amazonaws.internal.SdkInternalList<String>(natGatewayIds);
    }
695861
public void setCustomerGateways(java.util.Collection<CustomerGateway> customerGateways) {
        if (customerGateways == null) {
            this.customerGateways = null;
            return;
        }

        this.customerGateways = new com.amazonaws.internal.SdkInternalList<CustomerGateway>(customerGateways);
    }
122506
func (s *VirtualInterface) SetDirectConnectGatewayId(v string) *VirtualInterface {
	s.DirectConnectGatewayId = &v
	return s
}
1199833
public void setVoiceConnectors(java.util.Collection<VoiceConnector> voiceConnectors) {
        if (voiceConnectors == null) {
            this.voiceConnectors = null;
            return;
        }

        this.voiceConnectors = new java.util.ArrayList<VoiceConnector>(voiceConnectors);
    }
1172093
public static void setGateway(String gateway) {
        gatewayWriteLock.lock();
        try {
            DiscordWebSocketAdapter.gateway = gateway;
        } finally {
            gatewayWriteLock.unlock();
        }
    }
61309
public java.util.List<RouteFilterPrefix> getOverrideAllowedPrefixesToDirectConnectGateway() {
        if (overrideAllowedPrefixesToDirectConnectGateway == null) {
            overrideAllowedPrefixesToDirectConnectGateway = new com.amazonaws.internal.SdkInternalList<RouteFilterPrefix>();
        }
        return overrideAllowedPrefixesToDirectConnectGateway;
    }
273033
public void setTransitGatewayAttachmentPropagations(java.util.Collection<TransitGatewayAttachmentPropagation> transitGatewayAttachmentPropagations) {
        if (transitGatewayAttachmentPropagations == null) {
            this.transitGatewayAttachmentPropagations = null;
            return;
        }

        this.transitGatewayAttachmentPropagations = new com.amazonaws.internal.SdkInternalList<TransitGatewayAttachmentPropagation>(
                transitGatewayAttachmentPropagations);
    }
193131
public void setTransitGatewayRouteTablePropagations(java.util.Collection<TransitGatewayRouteTablePropagation> transitGatewayRouteTablePropagations) {
        if (transitGatewayRouteTablePropagations == null) {
            this.transitGatewayRouteTablePropagations = null;
            return;
        }

        this.transitGatewayRouteTablePropagations = new com.amazonaws.internal.SdkInternalList<TransitGatewayRouteTablePropagation>(
                transitGatewayRouteTablePropagations);
    }