@Stability(value=Stable) public static final class CfnSMSChannel.Builder extends Object implements software.amazon.jsii.Builder<CfnSMSChannel>
CfnSMSChannel.| Modifier and Type | Method and Description |
|---|---|
CfnSMSChannel.Builder |
applicationId(String applicationId)
The unique identifier for the Amazon Pinpoint application that the SMS channel applies to.
|
CfnSMSChannel |
build() |
static CfnSMSChannel.Builder |
create(software.constructs.Construct scope,
String id) |
CfnSMSChannel.Builder |
enabled(Boolean enabled)
Specifies whether to enable the SMS channel for the application.
|
CfnSMSChannel.Builder |
enabled(IResolvable enabled)
Specifies whether to enable the SMS channel for the application.
|
CfnSMSChannel.Builder |
senderId(String senderId)
The identity that you want to display on recipients' devices when they receive messages from the SMS channel.
|
CfnSMSChannel.Builder |
shortCode(String shortCode)
The registered short code that you want to use when you send messages through the SMS channel.
|
@Stability(value=Stable) public static CfnSMSChannel.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnSMSChannel.Builder.@Stability(value=Stable) public CfnSMSChannel.Builder applicationId(String applicationId)
applicationId - The unique identifier for the Amazon Pinpoint application that the SMS channel applies to. This parameter is required.this@Stability(value=Stable) public CfnSMSChannel.Builder enabled(Boolean enabled)
enabled - Specifies whether to enable the SMS channel for the application. This parameter is required.this@Stability(value=Stable) public CfnSMSChannel.Builder enabled(IResolvable enabled)
enabled - Specifies whether to enable the SMS channel for the application. This parameter is required.this@Stability(value=Stable) public CfnSMSChannel.Builder senderId(String senderId)
SenderIDs are only supported in certain countries and regions. For more information, see Supported Countries and Regions in the Amazon Pinpoint User Guide .
senderId - The identity that you want to display on recipients' devices when they receive messages from the SMS channel. This parameter is required.this@Stability(value=Stable) public CfnSMSChannel.Builder shortCode(String shortCode)
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 .
shortCode - The registered short code that you want to use when you send messages through the SMS channel. This parameter is required.this@Stability(value=Stable) public CfnSMSChannel build()
build in interface software.amazon.jsii.Builder<CfnSMSChannel>Copyright © 2022. All rights reserved.