public ModifySelfservicePermissionsRequest withResourceId(String resourceId) {
        setResourceId(resourceId);
        return this;
    }
<p>
The identifier of the directory.
</p>

@param resourceId
       The identifier of the directory.
@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/ModifySelfservicePermissionsRequest.java