Class CfnCampaign.SmsChannelSubtypeConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connectcampaignsv2.CfnCampaign.SmsChannelSubtypeConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCampaign.SmsChannelSubtypeConfigProperty>
- Enclosing interface:
CfnCampaign.SmsChannelSubtypeConfigProperty
@Stability(Stable)
public static final class CfnCampaign.SmsChannelSubtypeConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaign.SmsChannelSubtypeConfigProperty>
A builder for
CfnCampaign.SmsChannelSubtypeConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnCampaign.SmsChannelSubtypeConfigProperty.getCapacity()defaultOutboundConfig(IResolvable defaultOutboundConfig) Sets the value ofCfnCampaign.SmsChannelSubtypeConfigProperty.getDefaultOutboundConfig()defaultOutboundConfig(CfnCampaign.SmsOutboundConfigProperty defaultOutboundConfig) Sets the value ofCfnCampaign.SmsChannelSubtypeConfigProperty.getDefaultOutboundConfig()outboundMode(IResolvable outboundMode) Sets the value ofCfnCampaign.SmsChannelSubtypeConfigProperty.getOutboundMode()outboundMode(CfnCampaign.SmsOutboundModeProperty outboundMode) Sets the value ofCfnCampaign.SmsChannelSubtypeConfigProperty.getOutboundMode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
defaultOutboundConfig
@Stability(Stable) public CfnCampaign.SmsChannelSubtypeConfigProperty.Builder defaultOutboundConfig(IResolvable defaultOutboundConfig) Sets the value ofCfnCampaign.SmsChannelSubtypeConfigProperty.getDefaultOutboundConfig()- Parameters:
defaultOutboundConfig- The default SMS outbound configuration of an outbound campaign. This parameter is required.- Returns:
this
-
defaultOutboundConfig
@Stability(Stable) public CfnCampaign.SmsChannelSubtypeConfigProperty.Builder defaultOutboundConfig(CfnCampaign.SmsOutboundConfigProperty defaultOutboundConfig) Sets the value ofCfnCampaign.SmsChannelSubtypeConfigProperty.getDefaultOutboundConfig()- Parameters:
defaultOutboundConfig- The default SMS outbound configuration of an outbound campaign. This parameter is required.- Returns:
this
-
outboundMode
@Stability(Stable) public CfnCampaign.SmsChannelSubtypeConfigProperty.Builder outboundMode(IResolvable outboundMode) Sets the value ofCfnCampaign.SmsChannelSubtypeConfigProperty.getOutboundMode()- Parameters:
outboundMode- The outbound mode of SMS for an outbound campaign. This parameter is required.- Returns:
this
-
outboundMode
@Stability(Stable) public CfnCampaign.SmsChannelSubtypeConfigProperty.Builder outboundMode(CfnCampaign.SmsOutboundModeProperty outboundMode) Sets the value ofCfnCampaign.SmsChannelSubtypeConfigProperty.getOutboundMode()- Parameters:
outboundMode- The outbound mode of SMS for an outbound campaign. This parameter is required.- Returns:
this
-
capacity
@Stability(Stable) public CfnCampaign.SmsChannelSubtypeConfigProperty.Builder capacity(Number capacity) Sets the value ofCfnCampaign.SmsChannelSubtypeConfigProperty.getCapacity()- Parameters:
capacity- The allocation of SMS capacity between multiple running outbound campaigns.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCampaign.SmsChannelSubtypeConfigProperty>- Returns:
- a new instance of
CfnCampaign.SmsChannelSubtypeConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-