public ComputeCapacityStatus withDesired(Integer desired) {
        setDesired(desired);
        return this;
    }
<p>
The desired number of streaming instances.
</p>

@param desired
       The desired number of streaming instances.
@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