Interface CreateVerifiedDestinationNumberResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateVerifiedDestinationNumberResponse.Builder,CreateVerifiedDestinationNumberResponse>,PinpointSmsVoiceV2Response.Builder,SdkBuilder<CreateVerifiedDestinationNumberResponse.Builder,CreateVerifiedDestinationNumberResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateVerifiedDestinationNumberResponse
public static interface CreateVerifiedDestinationNumberResponse.Builder extends PinpointSmsVoiceV2Response.Builder, SdkPojo, CopyableBuilder<CreateVerifiedDestinationNumberResponse.Builder,CreateVerifiedDestinationNumberResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateVerifiedDestinationNumberResponse.BuildercreatedTimestamp(Instant createdTimestamp)The time when the verified phone number was created, in UNIX epoch time format.CreateVerifiedDestinationNumberResponse.BuilderdestinationPhoneNumber(String destinationPhoneNumber)The verified destination phone number, in E.164 format.CreateVerifiedDestinationNumberResponse.Builderstatus(String status)The status of the verified destination phone number.CreateVerifiedDestinationNumberResponse.Builderstatus(VerificationStatus status)The status of the verified destination phone number.CreateVerifiedDestinationNumberResponse.Buildertags(Collection<Tag> tags)An array of tags (key and value pairs) to associate with the destination number.CreateVerifiedDestinationNumberResponse.Buildertags(Consumer<Tag.Builder>... tags)An array of tags (key and value pairs) to associate with the destination number.CreateVerifiedDestinationNumberResponse.Buildertags(Tag... tags)An array of tags (key and value pairs) to associate with the destination number.CreateVerifiedDestinationNumberResponse.BuilderverifiedDestinationNumberArn(String verifiedDestinationNumberArn)The Amazon Resource Name (ARN) for the verified destination phone number.CreateVerifiedDestinationNumberResponse.BuilderverifiedDestinationNumberId(String verifiedDestinationNumberId)The unique identifier for the verified destination phone number.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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
CreateVerifiedDestinationNumberResponse.Builder status(String 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:
VerificationStatus,VerificationStatus
-
-
status
CreateVerifiedDestinationNumberResponse.Builder status(VerificationStatus 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:
VerificationStatus,VerificationStatus
-
-
tags
CreateVerifiedDestinationNumberResponse.Builder tags(Collection<Tag> 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
CreateVerifiedDestinationNumberResponse.Builder tags(Tag... 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
CreateVerifiedDestinationNumberResponse.Builder tags(Consumer<Tag.Builder>... 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 theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
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.
-
-