Interface CreateUserRequest.Builder

  • Method Details

    • organizationId

      CreateUserRequest.Builder organizationId(String organizationId)

      The identifier of the organization for which the user is created.

      Parameters:
      organizationId - The identifier of the organization for which the user is created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name for the new user. WorkMail directory user names have a maximum length of 64. All others have a maximum length of 20.

      Parameters:
      name - The name for the new user. WorkMail directory user names have a maximum length of 64. All others have a maximum length of 20.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • displayName

      CreateUserRequest.Builder displayName(String displayName)

      The display name for the new user.

      Parameters:
      displayName - The display name for the new user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • password

      CreateUserRequest.Builder password(String password)

      The password for the new user.

      Parameters:
      password - The password for the new user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • role

      The role of the new user.

      You cannot pass SYSTEM_USER or RESOURCE role in a single request. When a user role is not selected, the default role of USER is selected.

      Parameters:
      role - The role of the new user.

      You cannot pass SYSTEM_USER or RESOURCE role in a single request. When a user role is not selected, the default role of USER is selected.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • role

      The role of the new user.

      You cannot pass SYSTEM_USER or RESOURCE role in a single request. When a user role is not selected, the default role of USER is selected.

      Parameters:
      role - The role of the new user.

      You cannot pass SYSTEM_USER or RESOURCE role in a single request. When a user role is not selected, the default role of USER is selected.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • firstName

      CreateUserRequest.Builder firstName(String firstName)

      The first name of the new user.

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

      CreateUserRequest.Builder lastName(String lastName)

      The last name of the new user.

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

      CreateUserRequest.Builder hiddenFromGlobalAddressList(Boolean hiddenFromGlobalAddressList)

      If this parameter is enabled, the user will be hidden from the address book.

      Parameters:
      hiddenFromGlobalAddressList - If this parameter is enabled, the user will be hidden from the address book.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • identityProviderUserId

      CreateUserRequest.Builder identityProviderUserId(String identityProviderUserId)

      User ID from the IAM Identity Center. If this parameter is empty it will be updated automatically when the user logs in for the first time to the mailbox associated with WorkMail.

      Parameters:
      identityProviderUserId - User ID from the IAM Identity Center. If this parameter is empty it will be updated automatically when the user logs in for the first time to the mailbox associated with WorkMail.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateUserRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.