Interface User.Builder

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

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

    • id

      The identifier of the user account.

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

      User.Builder arn(String arn)

      The Amazon Resource Name (ARN) of the user account.

      Parameters:
      arn - The Amazon Resource Name (ARN) of the user account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • username

      User.Builder username(String username)

      The user name assigned to the user account.

      Parameters:
      username - The user name assigned to the user account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • identityInfo

      User.Builder identityInfo(UserIdentityInfo identityInfo)

      Information about the user identity.

      Parameters:
      identityInfo - Information about the user identity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • identityInfo

      default User.Builder identityInfo(Consumer<UserIdentityInfo.Builder> identityInfo)

      Information about the user identity.

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

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

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

      User.Builder phoneConfig(UserPhoneConfig phoneConfig)

      Information about the phone configuration for the user.

      Parameters:
      phoneConfig - Information about the phone configuration for the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • phoneConfig

      default User.Builder phoneConfig(Consumer<UserPhoneConfig.Builder> phoneConfig)

      Information about the phone configuration for the user.

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

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

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

      User.Builder directoryUserId(String directoryUserId)

      The identifier of the user account in the directory used for identity management.

      Parameters:
      directoryUserId - The identifier of the user account in the directory used for identity management.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityProfileIds

      User.Builder securityProfileIds(Collection<String> securityProfileIds)

      The identifiers of the security profiles for the user.

      Parameters:
      securityProfileIds - The identifiers of the security profiles for the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityProfileIds

      User.Builder securityProfileIds(String... securityProfileIds)

      The identifiers of the security profiles for the user.

      Parameters:
      securityProfileIds - The identifiers of the security profiles for the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • routingProfileId

      User.Builder routingProfileId(String routingProfileId)

      The identifier of the routing profile for the user.

      Parameters:
      routingProfileId - The identifier of the routing profile for the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hierarchyGroupId

      User.Builder hierarchyGroupId(String hierarchyGroupId)

      The identifier of the hierarchy group for the user.

      Parameters:
      hierarchyGroupId - The identifier of the hierarchy group for the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags.

      Parameters:
      tags - The tags.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModifiedTime

      User.Builder lastModifiedTime(Instant lastModifiedTime)

      The timestamp when this resource was last modified.

      Parameters:
      lastModifiedTime - The timestamp when this resource was last modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModifiedRegion

      User.Builder lastModifiedRegion(String lastModifiedRegion)

      The Amazon Web Services Region where this resource was last modified.

      Parameters:
      lastModifiedRegion - The Amazon Web Services Region where this resource was last modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.