Class CfnVerifiedDestinationNumberMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.smsvoice.CfnVerifiedDestinationNumberMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVerifiedDestinationNumberMixinProps>
- Enclosing interface:
CfnVerifiedDestinationNumberMixinProps
@Stability(Stable)
public static final class CfnVerifiedDestinationNumberMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVerifiedDestinationNumberMixinProps>
A builder for
CfnVerifiedDestinationNumberMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.destinationPhoneNumber(String destinationPhoneNumber) Sets the value ofCfnVerifiedDestinationNumberMixinProps.getDestinationPhoneNumber()Sets the value ofCfnVerifiedDestinationNumberMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinationPhoneNumber
@Stability(Stable) public CfnVerifiedDestinationNumberMixinProps.Builder destinationPhoneNumber(String destinationPhoneNumber) Sets the value ofCfnVerifiedDestinationNumberMixinProps.getDestinationPhoneNumber()- Parameters:
destinationPhoneNumber- The verified destination phone number, in E.164 format.- Returns:
this
-
tags
@Stability(Stable) public CfnVerifiedDestinationNumberMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnVerifiedDestinationNumberMixinProps.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<CfnVerifiedDestinationNumberMixinProps>- Returns:
- a new instance of
CfnVerifiedDestinationNumberMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-