Interface UpdateInstruction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<UpdateInstruction.Builder,
,UpdateInstruction> SdkBuilder<UpdateInstruction.Builder,
,UpdateInstruction> SdkPojo
- Enclosing class:
UpdateInstruction
public static interface UpdateInstruction.Builder
extends SdkPojo, CopyableBuilder<UpdateInstruction.Builder,UpdateInstruction>
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies whether this update is to add or revoke role permissions.action
(UpdateAction action) Specifies whether this update is to add or revoke role permissions.The role to add or revoke for the user or the group specified inusers
.The role to add or revoke for the user or the group specified inusers
.users
(Collection<User> users) A structure that specifies the user or group to add or revoke the role for.users
(Consumer<User.Builder>... users) A structure that specifies the user or group to add or revoke the role for.A structure that specifies the user or group to add or revoke the role for.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
action
Specifies whether this update is to add or revoke role permissions.
- Parameters:
action
- Specifies whether this update is to add or revoke role permissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
action
Specifies whether this update is to add or revoke role permissions.
- Parameters:
action
- Specifies whether this update is to add or revoke role permissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
role
The role to add or revoke for the user or the group specified in
users
.- Parameters:
role
- The role to add or revoke for the user or the group specified inusers
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
role
The role to add or revoke for the user or the group specified in
users
.- Parameters:
role
- The role to add or revoke for the user or the group specified inusers
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
users
A structure that specifies the user or group to add or revoke the role for.
- Parameters:
users
- A structure that specifies the user or group to add or revoke the role for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
A structure that specifies the user or group to add or revoke the role for.
- Parameters:
users
- A structure that specifies the user or group to add or revoke the role for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaUser.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tousers(List<User>)
.- Parameters:
users
- a consumer that will call methods onUser.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-