public DescribeGatewayInformationResult withSupportedGatewayCapacities(String... supportedGatewayCapacities) {
        if (this.supportedGatewayCapacities == null) {
            setSupportedGatewayCapacities(new com.amazonaws.internal.SdkInternalList<String>(supportedGatewayCapacities.length));
        }
        for (String ele : supportedGatewayCapacities) {
            this.supportedGatewayCapacities.add(ele);
        }
        return this;
    }
<p>
A list of the metadata cache sizes that the gateway can support based on its current hardware specifications.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSupportedGatewayCapacities(java.util.Collection)} or
{@link #withSupportedGatewayCapacities(java.util.Collection)} if you want to override the existing values.
</p>

@param supportedGatewayCapacities
       A list of the metadata cache sizes that the gateway can support based on its current hardware
       specifications.
@return Returns a reference to this object so that method calls can be chained together.
@see GatewayCapacity
aws-java-sdk-storagegateway/src/main/java/com/amazonaws/services/storagegateway/model/DescribeGatewayInformationResult.java