Class CfnCampaign.TelephonyChannelSubtypeConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connectcampaignsv2.CfnCampaign.TelephonyChannelSubtypeConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCampaign.TelephonyChannelSubtypeConfigProperty>
- Enclosing interface:
CfnCampaign.TelephonyChannelSubtypeConfigProperty
@Stability(Stable)
public static final class CfnCampaign.TelephonyChannelSubtypeConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaign.TelephonyChannelSubtypeConfigProperty>
A builder for
CfnCampaign.TelephonyChannelSubtypeConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnCampaign.TelephonyChannelSubtypeConfigProperty.getCapacity()connectQueueId(String connectQueueId) Sets the value ofCfnCampaign.TelephonyChannelSubtypeConfigProperty.getConnectQueueId()defaultOutboundConfig(IResolvable defaultOutboundConfig) defaultOutboundConfig(CfnCampaign.TelephonyOutboundConfigProperty defaultOutboundConfig) outboundMode(IResolvable outboundMode) Sets the value ofCfnCampaign.TelephonyChannelSubtypeConfigProperty.getOutboundMode()outboundMode(CfnCampaign.TelephonyOutboundModeProperty outboundMode) Sets the value ofCfnCampaign.TelephonyChannelSubtypeConfigProperty.getOutboundMode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
defaultOutboundConfig
@Stability(Stable) public CfnCampaign.TelephonyChannelSubtypeConfigProperty.Builder defaultOutboundConfig(IResolvable defaultOutboundConfig) - Parameters:
defaultOutboundConfig- Default Telephone Outbound config. This parameter is required.- Returns:
this
-
defaultOutboundConfig
@Stability(Stable) public CfnCampaign.TelephonyChannelSubtypeConfigProperty.Builder defaultOutboundConfig(CfnCampaign.TelephonyOutboundConfigProperty defaultOutboundConfig) - Parameters:
defaultOutboundConfig- Default Telephone Outbound config. This parameter is required.- Returns:
this
-
outboundMode
@Stability(Stable) public CfnCampaign.TelephonyChannelSubtypeConfigProperty.Builder outboundMode(IResolvable outboundMode) Sets the value ofCfnCampaign.TelephonyChannelSubtypeConfigProperty.getOutboundMode()- Parameters:
outboundMode- Telephony Outbound Mode. This parameter is required.- Returns:
this
-
outboundMode
@Stability(Stable) public CfnCampaign.TelephonyChannelSubtypeConfigProperty.Builder outboundMode(CfnCampaign.TelephonyOutboundModeProperty outboundMode) Sets the value ofCfnCampaign.TelephonyChannelSubtypeConfigProperty.getOutboundMode()- Parameters:
outboundMode- Telephony Outbound Mode. This parameter is required.- Returns:
this
-
capacity
@Stability(Stable) public CfnCampaign.TelephonyChannelSubtypeConfigProperty.Builder capacity(Number capacity) Sets the value ofCfnCampaign.TelephonyChannelSubtypeConfigProperty.getCapacity()- Parameters:
capacity- Allocates outbound capacity for the specific channel of this campaign between multiple active campaigns.- Returns:
this
-
connectQueueId
@Stability(Stable) public CfnCampaign.TelephonyChannelSubtypeConfigProperty.Builder connectQueueId(String connectQueueId) Sets the value ofCfnCampaign.TelephonyChannelSubtypeConfigProperty.getConnectQueueId()- Parameters:
connectQueueId- The queue for the call.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCampaign.TelephonyChannelSubtypeConfigProperty>- Returns:
- a new instance of
CfnCampaign.TelephonyChannelSubtypeConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-