public FileCache withStorageCapacity(Integer storageCapacity) {
        setStorageCapacity(storageCapacity);
        return this;
    }
<p>
The storage capacity of the cache in gibibytes (GiB).
</p>

@param storageCapacity
       The storage capacity of the cache in gibibytes (GiB).
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-fsx/src/main/java/com/amazonaws/services/fsx/model/FileCache.java