Interface User.Builder

All Superinterfaces:
Buildable, CopyableBuilder<User.Builder,User>, SdkBuilder<User.Builder,User>, SdkPojo
Enclosing class:
User

@Mutable @NotThreadSafe public static interface User.Builder extends SdkPojo, CopyableBuilder<User.Builder,User>
  • Method Details

    • name

      User.Builder name(String name)

      The name of the user.

      Parameters:
      name - The name of the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • uid

      User.Builder uid(String uid)

      The unique identifier of the user.

      Parameters:
      uid - The unique identifier of the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      User.Builder type(String type)

      The type of the user.

      Parameters:
      type - The type of the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • credentialUid

      User.Builder credentialUid(String credentialUid)

      The credentials of the user ID.

      Parameters:
      credentialUid - The credentials of the user ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • account

      User.Builder account(Account account)

      Contains information about the Amazon Web Services account.

      Parameters:
      account - Contains information about the Amazon Web Services account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • account

      default User.Builder account(Consumer<Account.Builder> account)

      Contains information about the Amazon Web Services account.

      This is a convenience method that creates an instance of the Account.Builder avoiding the need to create one manually via Account.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to account(Account).

      Parameters:
      account - a consumer that will call methods on Account.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: