public ComputeCapacityStatus withInUse(Integer inUse) {
        setInUse(inUse);
        return this;
    }
<p>
The number of instances in use for streaming.
</p>

@param inUse
       The number of instances in use for streaming.
@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/ComputeCapacityStatus.java