public static final class CfnSMSChannelProps.Builder
extends java.lang.Object
CfnSMSChannelProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnSMSChannelProps.Builder |
applicationId(java.lang.String applicationId)
Sets the value of
CfnSMSChannelProps.getApplicationId() |
CfnSMSChannelProps |
build()
Builds the configured instance.
|
CfnSMSChannelProps.Builder |
enabled(java.lang.Boolean enabled)
Sets the value of
CfnSMSChannelProps.getEnabled() |
CfnSMSChannelProps.Builder |
enabled(IResolvable enabled)
Sets the value of
CfnSMSChannelProps.getEnabled() |
CfnSMSChannelProps.Builder |
senderId(java.lang.String senderId)
Sets the value of
CfnSMSChannelProps.getSenderId() |
CfnSMSChannelProps.Builder |
shortCode(java.lang.String shortCode)
Sets the value of
CfnSMSChannelProps.getShortCode() |
public CfnSMSChannelProps.Builder applicationId(java.lang.String applicationId)
CfnSMSChannelProps.getApplicationId()
applicationId
- The unique identifier for the Amazon Pinpoint application that the SMS channel applies to. This parameter is required.this
public CfnSMSChannelProps.Builder enabled(java.lang.Boolean enabled)
CfnSMSChannelProps.getEnabled()
enabled
- Specifies whether to enable the SMS channel for the application.this
public CfnSMSChannelProps.Builder enabled(IResolvable enabled)
CfnSMSChannelProps.getEnabled()
enabled
- Specifies whether to enable the SMS channel for the application.this
public CfnSMSChannelProps.Builder senderId(java.lang.String senderId)
CfnSMSChannelProps.getSenderId()
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 .
this
public CfnSMSChannelProps.Builder shortCode(java.lang.String shortCode)
CfnSMSChannelProps.getShortCode()
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 .
this
public CfnSMSChannelProps build()
CfnSMSChannelProps
java.lang.NullPointerException
- if any required attribute was not provided