public UpdateWorkspacesPoolRequest withPoolId(String poolId) {
        setPoolId(poolId);
        return this;
    }
<p>
The identifier of the specified pool to update.
</p>

@param poolId
       The identifier of the specified pool to update.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-workspaces/src/main/java/com/amazonaws/services/workspaces/model/UpdateWorkspacesPoolRequest.java