Class CfnVerifiedDestinationNumberProps.Builder
java.lang.Object
software.amazon.awscdk.services.smsvoice.CfnVerifiedDestinationNumberProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVerifiedDestinationNumberProps>
- Enclosing interface:
CfnVerifiedDestinationNumberProps
@Stability(Stable)
public static final class CfnVerifiedDestinationNumberProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVerifiedDestinationNumberProps>
A builder for
CfnVerifiedDestinationNumberProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.destinationPhoneNumber(String destinationPhoneNumber) Sets the value ofCfnVerifiedDestinationNumberProps.getDestinationPhoneNumber()Sets the value ofCfnVerifiedDestinationNumberProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinationPhoneNumber
@Stability(Stable) public CfnVerifiedDestinationNumberProps.Builder destinationPhoneNumber(String destinationPhoneNumber) Sets the value ofCfnVerifiedDestinationNumberProps.getDestinationPhoneNumber()- Parameters:
destinationPhoneNumber- The verified destination phone number, in E.164 format. This parameter is required.- Returns:
this
-
tags
@Stability(Stable) public CfnVerifiedDestinationNumberProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnVerifiedDestinationNumberProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVerifiedDestinationNumberProps>- Returns:
- a new instance of
CfnVerifiedDestinationNumberProps - Throws:
NullPointerException- if any required attribute was not provided
-