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 Summary
Modifier and TypeMethodDescriptioncreatedTimestamp(Instant createdTimestamp) The time when the verified phone number was created, in UNIX epoch time format.destinationPhoneNumber(String destinationPhoneNumber) The verified destination phone number, in E.164 format.The status of the verified destination phone number.status(VerificationStatus status) The status of the verified destination phone number.tags(Collection<Tag> tags) An array of tags (key and value pairs) to associate with the destination number.tags(Consumer<Tag.Builder>... tags) An array of tags (key and value pairs) to associate with the destination number.An array of tags (key and value pairs) to associate with the destination number.verifiedDestinationNumberArn(String verifiedDestinationNumberArn) The Amazon Resource Name (ARN) for the verified destination phone number.verifiedDestinationNumberId(String verifiedDestinationNumberId) The unique identifier for the verified destination phone number.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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 theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- 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:
-
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.
-