Class CfnSMSChannelPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pinpoint.CfnSMSChannelPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSMSChannelPropsMixin>
- Enclosing class:
CfnSMSChannelPropsMixin
@Stability(Stable)
public static final class CfnSMSChannelPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSMSChannelPropsMixin>
A fluent builder for
CfnSMSChannelPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionapplicationId(String applicationId) The unique identifier for the Amazon Pinpoint application that the SMS channel applies to.build()create()create(CfnPropertyMixinOptions options) 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
@Stability(Stable) public static CfnSMSChannelPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnSMSChannelPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnSMSChannelPropsMixin.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- See Also:
-
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- See Also:
-
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- See Also:
-
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- See Also:
-
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- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSMSChannelPropsMixin>- Returns:
- a newly built instance of
CfnSMSChannelPropsMixin.
-