public CreateDataRepositoryTaskRequest withCapacityToRelease(Long capacityToRelease) {
        setCapacityToRelease(capacityToRelease);
        return this;
    }
<p>
Specifies the amount of data to release, in GiB, by an Amazon File Cache <code>AUTO_RELEASE_DATA</code> task that
automatically releases files from the cache.
</p>

@param capacityToRelease
       Specifies the amount of data to release, in GiB, by an Amazon File Cache <code>AUTO_RELEASE_DATA</code>
       task that automatically releases files from the cache.
@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/CreateDataRepositoryTaskRequest.java