public UpdateFleetRequest withComputeCapacity(ComputeCapacity computeCapacity) {
        setComputeCapacity(computeCapacity);
        return this;
    }
<p>
The desired capacity for the fleet. This is not allowed for Elastic fleets.
</p>

@param computeCapacity
       The desired capacity for the fleet. This is not allowed for Elastic fleets.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-appstream/src/main/java/com/amazonaws/services/appstream/model/UpdateFleetRequest.java