public void setEgressOnlyInternetGateways(java.util.Collection<EgressOnlyInternetGateway> egressOnlyInternetGateways) {
        if (egressOnlyInternetGateways == null) {
            this.egressOnlyInternetGateways = null;
            return;
        }

        this.egressOnlyInternetGateways = new com.amazonaws.internal.SdkInternalList<EgressOnlyInternetGateway>(egressOnlyInternetGateways);
    }
<p>
Information about the egress-only internet gateways.
</p>

@param egressOnlyInternetGateways
       Information about the egress-only internet gateways.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/DescribeEgressOnlyInternetGatewaysResult.java