Class AddViewPermissionRequest.Builder
Object
Builder
- Enclosing class:
AddViewPermissionRequest
-
Method Summary
Modifier and TypeMethodDescriptionbaseResource
(ResourceReference baseResource) Required. The resource on which we want to provide the view permission.build()
toString()
userGroupId
(UUID userGroupId) The userGroupId of the group that should receive the view permission.The userId of the person who should receive the view permission.
-
Method Details
-
userId
The userId of the person who should receive the view permission. Either this or the userGroupId is required.- Returns:
this
.
-
userGroupId
The userGroupId of the group that should receive the view permission. Either this or the userId is required.- Returns:
this
.
-
baseResource
Required. The resource on which we want to provide the view permission.- Returns:
this
.
-
build
-
toString
-