public RemoveResourcePermissionRequest withPrincipalId(String principalId) {
        setPrincipalId(principalId);
        return this;
    }
<p>
The principal ID of the resource.
</p>

@param principalId
       The principal ID of the resource.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-workdocs/src/main/java/com/amazonaws/services/workdocs/model/RemoveResourcePermissionRequest.java