@Stability(value=Stable) public static final class CfnSMSChannelProps.Builder extends Object implements software.amazon.jsii.Builder<CfnSMSChannelProps>
CfnSMSChannelProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnSMSChannelProps.Builder |
applicationId(String applicationId)
Sets the value of
CfnSMSChannelProps.getApplicationId() |
CfnSMSChannelProps |
build()
Builds the configured instance.
|
CfnSMSChannelProps.Builder |
enabled(Boolean enabled)
Sets the value of
CfnSMSChannelProps.getEnabled() |
CfnSMSChannelProps.Builder |
enabled(IResolvable enabled)
Sets the value of
CfnSMSChannelProps.getEnabled() |
CfnSMSChannelProps.Builder |
senderId(String senderId)
Sets the value of
CfnSMSChannelProps.getSenderId() |
CfnSMSChannelProps.Builder |
shortCode(String shortCode)
Sets the value of
CfnSMSChannelProps.getShortCode() |
@Stability(value=Stable) public CfnSMSChannelProps.Builder applicationId(String applicationId)
CfnSMSChannelProps.getApplicationId()applicationId - The unique identifier for the Amazon Pinpoint application that the SMS channel applies to. This parameter is required.this@Stability(value=Stable) public CfnSMSChannelProps.Builder enabled(Boolean enabled)
CfnSMSChannelProps.getEnabled()enabled - Specifies whether to enable the SMS channel for the application.this@Stability(value=Stable) public CfnSMSChannelProps.Builder enabled(IResolvable enabled)
CfnSMSChannelProps.getEnabled()enabled - Specifies whether to enable the SMS channel for the application.this@Stability(value=Stable) public CfnSMSChannelProps.Builder senderId(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@Stability(value=Stable) public CfnSMSChannelProps.Builder shortCode(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@Stability(value=Stable) public CfnSMSChannelProps build()
build in interface software.amazon.jsii.Builder<CfnSMSChannelProps>CfnSMSChannelPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.