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

    • userId

      User.Builder userId(String userId)

      The user ID.

      Parameters:
      userId - The user ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accountId

      User.Builder accountId(String accountId)

      The Amazon Chime account ID.

      Parameters:
      accountId - The Amazon Chime account ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • primaryEmail

      User.Builder primaryEmail(String primaryEmail)

      The primary email address of the user.

      Parameters:
      primaryEmail - The primary email address of the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • primaryProvisionedNumber

      User.Builder primaryProvisionedNumber(String primaryProvisionedNumber)

      The primary phone number associated with the user.

      Parameters:
      primaryProvisionedNumber - The primary phone number associated with the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • displayName

      User.Builder displayName(String displayName)

      The display name of the user.

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

      User.Builder licenseType(String licenseType)

      The license type for the user.

      Parameters:
      licenseType - The license type for the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • licenseType

      User.Builder licenseType(License licenseType)

      The license type for the user.

      Parameters:
      licenseType - The license type for the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • userType

      User.Builder userType(String userType)

      The user type.

      Parameters:
      userType - The user type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • userType

      User.Builder userType(UserType userType)

      The user type.

      Parameters:
      userType - The user type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • userRegistrationStatus

      User.Builder userRegistrationStatus(String userRegistrationStatus)

      The user registration status.

      Parameters:
      userRegistrationStatus - The user registration status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • userRegistrationStatus

      User.Builder userRegistrationStatus(RegistrationStatus userRegistrationStatus)

      The user registration status.

      Parameters:
      userRegistrationStatus - The user registration status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • userInvitationStatus

      User.Builder userInvitationStatus(String userInvitationStatus)

      The user invite status.

      Parameters:
      userInvitationStatus - The user invite status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • userInvitationStatus

      User.Builder userInvitationStatus(InviteStatus userInvitationStatus)

      The user invite status.

      Parameters:
      userInvitationStatus - The user invite status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • registeredOn

      User.Builder registeredOn(Instant registeredOn)

      Date and time when the user is registered, in ISO 8601 format.

      Parameters:
      registeredOn - Date and time when the user is registered, in ISO 8601 format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • invitedOn

      User.Builder invitedOn(Instant invitedOn)

      Date and time when the user is invited to the Amazon Chime account, in ISO 8601 format.

      Parameters:
      invitedOn - Date and time when the user is invited to the Amazon Chime account, in ISO 8601 format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • alexaForBusinessMetadata

      User.Builder alexaForBusinessMetadata(AlexaForBusinessMetadata alexaForBusinessMetadata)

      The Alexa for Business metadata.

      Parameters:
      alexaForBusinessMetadata - The Alexa for Business metadata.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • alexaForBusinessMetadata

      default User.Builder alexaForBusinessMetadata(Consumer<AlexaForBusinessMetadata.Builder> alexaForBusinessMetadata)

      The Alexa for Business metadata.

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

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

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

      User.Builder personalPIN(String personalPIN)

      The user's personal meeting PIN.

      Parameters:
      personalPIN - The user's personal meeting PIN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.