Interface RegistrationInformation.Builder

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

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

    • registrationArn

      RegistrationInformation.Builder registrationArn(String registrationArn)

      The Amazon Resource Name (ARN) for the registration.

      Parameters:
      registrationArn - The Amazon Resource Name (ARN) for the registration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • registrationId

      RegistrationInformation.Builder registrationId(String registrationId)

      The unique identifier for the registration.

      Parameters:
      registrationId - The unique identifier for the registration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • registrationType

      RegistrationInformation.Builder registrationType(String registrationType)

      The type of registration form. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.

      Parameters:
      registrationType - The type of registration form. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • registrationStatus

      RegistrationInformation.Builder registrationStatus(String registrationStatus)

      The status of the registration.

      • CREATED: Your registration is created but not submitted.

      • SUBMITTED: Your registration has been submitted and is awaiting review.

      • REVIEWING: Your registration has been accepted and is being reviewed.

      • PROVISIONING: Your registration has been approved and your origination identity is being created.

      • COMPLETE: Your registration has been approved and and your origination identity has been created.

      • REQUIRES_UPDATES: You must fix your registration and resubmit it.

      • CLOSED: The phone number or sender ID has been deleted and you must also delete the registration for the number.

      • DELETED: The registration has been deleted.

      Parameters:
      registrationStatus - The status of the registration.

      • CREATED: Your registration is created but not submitted.

      • SUBMITTED: Your registration has been submitted and is awaiting review.

      • REVIEWING: Your registration has been accepted and is being reviewed.

      • PROVISIONING: Your registration has been approved and your origination identity is being created.

      • COMPLETE: Your registration has been approved and and your origination identity has been created.

      • REQUIRES_UPDATES: You must fix your registration and resubmit it.

      • CLOSED: The phone number or sender ID has been deleted and you must also delete the registration for the number.

      • DELETED: The registration has been deleted.

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

      RegistrationInformation.Builder registrationStatus(RegistrationStatus registrationStatus)

      The status of the registration.

      • CREATED: Your registration is created but not submitted.

      • SUBMITTED: Your registration has been submitted and is awaiting review.

      • REVIEWING: Your registration has been accepted and is being reviewed.

      • PROVISIONING: Your registration has been approved and your origination identity is being created.

      • COMPLETE: Your registration has been approved and and your origination identity has been created.

      • REQUIRES_UPDATES: You must fix your registration and resubmit it.

      • CLOSED: The phone number or sender ID has been deleted and you must also delete the registration for the number.

      • DELETED: The registration has been deleted.

      Parameters:
      registrationStatus - The status of the registration.

      • CREATED: Your registration is created but not submitted.

      • SUBMITTED: Your registration has been submitted and is awaiting review.

      • REVIEWING: Your registration has been accepted and is being reviewed.

      • PROVISIONING: Your registration has been approved and your origination identity is being created.

      • COMPLETE: Your registration has been approved and and your origination identity has been created.

      • REQUIRES_UPDATES: You must fix your registration and resubmit it.

      • CLOSED: The phone number or sender ID has been deleted and you must also delete the registration for the number.

      • DELETED: The registration has been deleted.

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

      RegistrationInformation.Builder currentVersionNumber(Long currentVersionNumber)

      The current version number of the registration.

      Parameters:
      currentVersionNumber - The current version number of the registration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • approvedVersionNumber

      RegistrationInformation.Builder approvedVersionNumber(Long approvedVersionNumber)

      The version number of the registration that was approved.

      Parameters:
      approvedVersionNumber - The version number of the registration that was approved.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • latestDeniedVersionNumber

      RegistrationInformation.Builder latestDeniedVersionNumber(Long latestDeniedVersionNumber)

      The latest version number of the registration that was denied.

      Parameters:
      latestDeniedVersionNumber - The latest version number of the registration that was denied.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • additionalAttributes

      RegistrationInformation.Builder additionalAttributes(Map<String,String> additionalAttributes)

      Metadata about a given registration which is specific to that registration type.

      Parameters:
      additionalAttributes - Metadata about a given registration which is specific to that registration type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdTimestamp

      RegistrationInformation.Builder createdTimestamp(Instant createdTimestamp)

      The time when the registration was created, in UNIX epoch time format.

      Parameters:
      createdTimestamp - The time when the registration was created, in UNIX epoch time format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.