Class CfnSMSChannel.Builder
java.lang.Object
software.amazon.awscdk.services.pinpoint.CfnSMSChannel.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSMSChannel>
- Enclosing class:
CfnSMSChannel
@Stability(Stable)
public static final class CfnSMSChannel.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSMSChannel>
A fluent builder for
CfnSMSChannel
.-
Method Summary
Modifier and TypeMethodDescriptionapplicationId
(String applicationId) The unique identifier for the Amazon Pinpoint application that the SMS channel applies to.build()
static CfnSMSChannel.Builder
Specifies whether to enable the SMS channel for the application.enabled
(IResolvable enabled) Specifies whether to enable the SMS channel for the application.The identity that you want to display on recipients' devices when they receive messages from the SMS channel.The registered short code that you want to use when you send messages through the SMS channel.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnSMSChannel.Builder
.
-
applicationId
The unique identifier for the Amazon Pinpoint application that the SMS channel applies to.- Parameters:
applicationId
- The unique identifier for the Amazon Pinpoint application that the SMS channel applies to. This parameter is required.- Returns:
this
-
enabled
Specifies whether to enable the SMS channel for the application.- Parameters:
enabled
- Specifies whether to enable the SMS channel for the application. This parameter is required.- Returns:
this
-
enabled
Specifies whether to enable the SMS channel for the application.- Parameters:
enabled
- Specifies whether to enable the SMS channel for the application. This parameter is required.- Returns:
this
-
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 .
- Parameters:
senderId
- The identity that you want to display on recipients' devices when they receive messages from the SMS channel. This parameter is required.- Returns:
this
-
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 .
- Parameters:
shortCode
- The registered short code that you want to use when you send messages through the SMS channel. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSMSChannel>
- Returns:
- a newly built instance of
CfnSMSChannel
.
-