Interface CreateRegistrationVersionResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<CreateRegistrationVersionResponse.Builder,CreateRegistrationVersionResponse>, PinpointSmsVoiceV2Response.Builder, SdkBuilder<CreateRegistrationVersionResponse.Builder,CreateRegistrationVersionResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
CreateRegistrationVersionResponse

  • Method Details

    • registrationArn

      CreateRegistrationVersionResponse.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

      CreateRegistrationVersionResponse.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.
    • versionNumber

      CreateRegistrationVersionResponse.Builder versionNumber(Long versionNumber)

      The new version number of the registration.

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

      CreateRegistrationVersionResponse.Builder registrationVersionStatus(String registrationVersionStatus)

      The status of the registration.

      • DRAFT: The initial status of a registration version after it’s created.

      • SUBMITTED: Your registration has been submitted.

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

      • APPROVED: Your registration has been approved.

      • DISCARDED: You've abandon this version of their registration to start over with a new version.

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

      • REVOKED: Your previously approved registration has been revoked.

      • ARCHIVED: Your previously approved registration version moves into this status when a more recently submitted version is approved.

      Parameters:
      registrationVersionStatus - The status of the registration.

      • DRAFT: The initial status of a registration version after it’s created.

      • SUBMITTED: Your registration has been submitted.

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

      • APPROVED: Your registration has been approved.

      • DISCARDED: You've abandon this version of their registration to start over with a new version.

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

      • REVOKED: Your previously approved registration has been revoked.

      • ARCHIVED: Your previously approved registration version moves into this status when a more recently submitted version is approved.

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

      CreateRegistrationVersionResponse.Builder registrationVersionStatus(RegistrationVersionStatus registrationVersionStatus)

      The status of the registration.

      • DRAFT: The initial status of a registration version after it’s created.

      • SUBMITTED: Your registration has been submitted.

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

      • APPROVED: Your registration has been approved.

      • DISCARDED: You've abandon this version of their registration to start over with a new version.

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

      • REVOKED: Your previously approved registration has been revoked.

      • ARCHIVED: Your previously approved registration version moves into this status when a more recently submitted version is approved.

      Parameters:
      registrationVersionStatus - The status of the registration.

      • DRAFT: The initial status of a registration version after it’s created.

      • SUBMITTED: Your registration has been submitted.

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

      • APPROVED: Your registration has been approved.

      • DISCARDED: You've abandon this version of their registration to start over with a new version.

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

      • REVOKED: Your previously approved registration has been revoked.

      • ARCHIVED: Your previously approved registration version moves into this status when a more recently submitted version is approved.

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

      CreateRegistrationVersionResponse.Builder registrationVersionStatusHistory(RegistrationVersionStatusHistory registrationVersionStatusHistory)

      A RegistrationVersionStatusHistory object that contains timestamps for the registration.

      Parameters:
      registrationVersionStatusHistory - A RegistrationVersionStatusHistory object that contains timestamps for the registration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • registrationVersionStatusHistory

      default CreateRegistrationVersionResponse.Builder registrationVersionStatusHistory(Consumer<RegistrationVersionStatusHistory.Builder> registrationVersionStatusHistory)

      A RegistrationVersionStatusHistory object that contains timestamps for the registration.

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

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

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