public UpdateGatewayInformationRequest withGatewayCapacity(GatewayCapacity gatewayCapacity) {
        this.gatewayCapacity = gatewayCapacity.toString();
        return this;
    }
<p>
Specifies the size of the gateway's metadata cache. This setting impacts gateway performance and hardware
recommendations. For more information, see <a
href="https://docs.aws.amazon.com/filegateway/latest/files3/performance-multiple-file-shares.html">Performance
guidance for gateways with multiple file shares</a> in the <i>Amazon S3 File Gateway User Guide</i>.
</p>

@param gatewayCapacity
       Specifies the size of the gateway's metadata cache. This setting impacts gateway performance and hardware
       recommendations. For more information, see <a
       href="https://docs.aws.amazon.com/filegateway/latest/files3/performance-multiple-file-shares.html"
       >Performance guidance for gateways with multiple file shares</a> in the <i>Amazon S3 File Gateway User
       Guide</i>.
@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/UpdateGatewayInformationRequest.java