public static interface PermissionEntry.Builder extends SdkPojo, CopyableBuilder<PermissionEntry.Builder,PermissionEntry>
| Modifier and Type | Method and Description |
|---|---|
PermissionEntry.Builder |
role(Role role)
Specifies whether the user or group has the
Admin, Editor, or Viewer
role. |
PermissionEntry.Builder |
role(String role)
Specifies whether the user or group has the
Admin, Editor, or Viewer
role. |
default PermissionEntry.Builder |
user(Consumer<User.Builder> user)
A structure with the ID of the user or group with this role.
|
PermissionEntry.Builder |
user(User user)
A structure with the ID of the user or group with this role.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPermissionEntry.Builder role(String role)
Specifies whether the user or group has the Admin, Editor, or Viewer
role.
PermissionEntry.Builder role(Role role)
Specifies whether the user or group has the Admin, Editor, or Viewer
role.
PermissionEntry.Builder user(User user)
A structure with the ID of the user or group with this role.
user - A structure with the ID of the user or group with this role.default PermissionEntry.Builder user(Consumer<User.Builder> user)
A structure with the ID of the user or group with this role.
This is a convenience method that creates an instance of theUser.Builder avoiding the need to create
one manually via User.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to user(User).
user - a consumer that will call methods on User.Builderuser(User)Copyright © 2023. All rights reserved.