public ListMailboxPermissionsResult withPermissions(java.util.Collection<Permission> permissions) {
        setPermissions(permissions);
        return this;
    }
<p>
One page of the user, group, or resource mailbox permissions.
</p>

@param permissions
       One page of the user, group, or resource mailbox permissions.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-workmail/src/main/java/com/amazonaws/services/workmail/model/ListMailboxPermissionsResult.java