public void setCapacity(Capacity capacity) {
        this.capacity = capacity;
    }
<p>
The desired capacity for the pool.
</p>

@param capacity
       The desired capacity for the pool.
aws-java-sdk-workspaces/src/main/java/com/amazonaws/services/workspaces/model/UpdateWorkspacesPoolRequest.java