Interface CreateVerifiedDestinationNumberResponse.Builder

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

  • Method Details

    • verifiedDestinationNumberArn

      CreateVerifiedDestinationNumberResponse.Builder verifiedDestinationNumberArn(String verifiedDestinationNumberArn)

      The Amazon Resource Name (ARN) for the verified destination phone number.

      Parameters:
      verifiedDestinationNumberArn - The Amazon Resource Name (ARN) for the verified destination phone number.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • verifiedDestinationNumberId

      CreateVerifiedDestinationNumberResponse.Builder verifiedDestinationNumberId(String verifiedDestinationNumberId)

      The unique identifier for the verified destination phone number.

      Parameters:
      verifiedDestinationNumberId - The unique identifier for the verified destination phone number.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinationPhoneNumber

      CreateVerifiedDestinationNumberResponse.Builder destinationPhoneNumber(String destinationPhoneNumber)

      The verified destination phone number, in E.164 format.

      Parameters:
      destinationPhoneNumber - The verified destination phone number, in E.164 format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of the verified destination phone number.

      • PENDING: The phone number hasn't been verified yet.

      • VERIFIED: The phone number is verified and can receive messages.

      Parameters:
      status - The status of the verified destination phone number.

      • PENDING: The phone number hasn't been verified yet.

      • VERIFIED: The phone number is verified and can receive messages.

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

      The status of the verified destination phone number.

      • PENDING: The phone number hasn't been verified yet.

      • VERIFIED: The phone number is verified and can receive messages.

      Parameters:
      status - The status of the verified destination phone number.

      • PENDING: The phone number hasn't been verified yet.

      • VERIFIED: The phone number is verified and can receive messages.

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

      An array of tags (key and value pairs) to associate with the destination number.

      Parameters:
      tags - An array of tags (key and value pairs) to associate with the destination number.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      An array of tags (key and value pairs) to associate with the destination number.

      Parameters:
      tags - An array of tags (key and value pairs) to associate with the destination number.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      An array of tags (key and value pairs) to associate with the destination number.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

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

      CreateVerifiedDestinationNumberResponse.Builder createdTimestamp(Instant createdTimestamp)

      The time when the verified phone number was created, in UNIX epoch time format.

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