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 SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFields
- 
Method Details- 
actionSpecifies 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:
 
- 
actionSpecifies 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:
 
- 
roleThe 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 in- users.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
roleThe 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 in- users.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
usersA 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.
 
- 
usersA 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.
 
- 
usersA 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.Builderavoiding the need to create one manually viaUser.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tousers(List<User>).- Parameters:
- users- a consumer that will call methods on- User.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-