Class CfnSMSChannelMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pinpoint.CfnSMSChannelMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSMSChannelMixinProps>
- Enclosing interface:
CfnSMSChannelMixinProps
@Stability(Stable)
public static final class CfnSMSChannelMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSMSChannelMixinProps>
A builder for
CfnSMSChannelMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationId(String applicationId) Sets the value ofCfnSMSChannelMixinProps.getApplicationId()build()Builds the configured instance.Sets the value ofCfnSMSChannelMixinProps.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnSMSChannelMixinProps.getEnabled()Sets the value ofCfnSMSChannelMixinProps.getSenderId()Sets the value ofCfnSMSChannelMixinProps.getShortCode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationId
Sets the value ofCfnSMSChannelMixinProps.getApplicationId()- Parameters:
applicationId- The unique identifier for the Amazon Pinpoint application that the SMS channel applies to.- Returns:
this
-
enabled
Sets the value ofCfnSMSChannelMixinProps.getEnabled()- Parameters:
enabled- Specifies whether to enable the SMS channel for the application.- Returns:
this
-
enabled
Sets the value ofCfnSMSChannelMixinProps.getEnabled()- Parameters:
enabled- Specifies whether to enable the SMS channel for the application.- Returns:
this
-
senderId
Sets the value ofCfnSMSChannelMixinProps.getSenderId()- Parameters:
senderId- The identity that you want to display on recipients' devices when they receive messages from the SMS channel.SenderIDs are only supported in certain countries and regions. For more information, see Supported Countries and Regions in the Amazon Pinpoint User Guide .
- Returns:
this
-
shortCode
Sets the value ofCfnSMSChannelMixinProps.getShortCode()- Parameters:
shortCode- The registered short code that you want to use when you send messages through the SMS channel.For information about obtaining a dedicated short code for sending SMS messages, see Requesting Dedicated Short Codes for SMS Messaging with Amazon Pinpoint in the Amazon Pinpoint User Guide .
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSMSChannelMixinProps>- Returns:
- a new instance of
CfnSMSChannelMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-