public static interface UpdateInstruction.Builder extends SdkPojo, CopyableBuilder<UpdateInstruction.Builder,UpdateInstruction>
| Modifier and Type | Method and Description |
|---|---|
UpdateInstruction.Builder |
action(String action)
Specifies whether this update is to add or revoke role permissions.
|
UpdateInstruction.Builder |
action(UpdateAction action)
Specifies whether this update is to add or revoke role permissions.
|
UpdateInstruction.Builder |
role(Role role)
The role to add or revoke for the user or the group specified in
users. |
UpdateInstruction.Builder |
role(String role)
The role to add or revoke for the user or the group specified in
users. |
UpdateInstruction.Builder |
users(Collection<User> users)
A structure that specifies the user or group to add or revoke the role for.
|
UpdateInstruction.Builder |
users(Consumer<User.Builder>... users)
A structure that specifies the user or group to add or revoke the role for.
|
UpdateInstruction.Builder |
users(User... users)
A structure that specifies the user or group to add or revoke the role for.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateInstruction.Builder action(String action)
Specifies whether this update is to add or revoke role permissions.
action - Specifies whether this update is to add or revoke role permissions.UpdateAction,
UpdateActionUpdateInstruction.Builder action(UpdateAction action)
Specifies whether this update is to add or revoke role permissions.
action - Specifies whether this update is to add or revoke role permissions.UpdateAction,
UpdateActionUpdateInstruction.Builder role(String role)
The role to add or revoke for the user or the group specified in users.
UpdateInstruction.Builder role(Role role)
The role to add or revoke for the user or the group specified in users.
UpdateInstruction.Builder users(Collection<User> users)
A structure that specifies the user or group to add or revoke the role for.
users - A structure that specifies the user or group to add or revoke the role for.UpdateInstruction.Builder users(User... users)
A structure that specifies the user or group to add or revoke the role for.
users - A structure that specifies the user or group to add or revoke the role for.UpdateInstruction.Builder users(Consumer<User.Builder>... users)
A structure that specifies the user or group to add or revoke the role for.
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 #users(List.
users - a consumer that will call methods on
User.Builder#users(java.util.Collection) Copyright © 2023. All rights reserved.