public DescribeInternetGatewaysRequest withInternetGatewayIds(String... internetGatewayIds) {
        if (this.internetGatewayIds == null) {
            setInternetGatewayIds(new com.amazonaws.internal.SdkInternalList<String>(internetGatewayIds.length));
        }
        for (String ele : internetGatewayIds) {
            this.internetGatewayIds.add(ele);
        }
        return this;
    }
<p>
The IDs of the internet gateways.
</p>
<p>
Default: Describes all your internet gateways.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setInternetGatewayIds(java.util.Collection)} or {@link #withInternetGatewayIds(java.util.Collection)} if
you want to override the existing values.
</p>

@param internetGatewayIds
       The IDs of the internet gateways.</p>
       <p>
       Default: Describes all your internet gateways.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/DescribeInternetGatewaysRequest.java