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 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 in users.
      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 in users.
      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 the User.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<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: