public void setInternetGateways(java.util.Collection<InternetGateway> internetGateways) {
        if (internetGateways == null) {
            this.internetGateways = null;
            return;
        }

        this.internetGateways = new com.amazonaws.internal.SdkInternalList<InternetGateway>(internetGateways);
    }
<p>
Information about the internet gateways.
</p>

@param internetGateways
       Information about the internet gateways.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/DescribeInternetGatewaysResult.java