public DescribeCarrierGatewaysResult withCarrierGateways(CarrierGateway... carrierGateways) {
        if (this.carrierGateways == null) {
            setCarrierGateways(new com.amazonaws.internal.SdkInternalList<CarrierGateway>(carrierGateways.length));
        }
        for (CarrierGateway ele : carrierGateways) {
            this.carrierGateways.add(ele);
        }
        return this;
    }
<p>
Information about the carrier gateway.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setCarrierGateways(java.util.Collection)} or {@link #withCarrierGateways(java.util.Collection)} if you
want to override the existing values.
</p>

@param carrierGateways
       Information about the carrier gateway.
@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/DescribeCarrierGatewaysResult.java