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- The default telephony outbound configuration of an outbound campaign. This parameter is required.- Returns:
this
-
defaultOutboundConfig
@Stability(Stable) public CfnCampaign.TelephonyChannelSubtypeConfigProperty.Builder defaultOutboundConfig(CfnCampaign.TelephonyOutboundConfigProperty defaultOutboundConfig) - Parameters:
defaultOutboundConfig- The default telephony outbound configuration of an outbound campaign. This parameter is required.- Returns:
this
-
outboundMode
@Stability(Stable) public CfnCampaign.TelephonyChannelSubtypeConfigProperty.Builder outboundMode(IResolvable outboundMode) Sets the value ofCfnCampaign.TelephonyChannelSubtypeConfigProperty.getOutboundMode()- Parameters:
outboundMode- The outbound mode of telephony for an outbound campaign. 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- The outbound mode of telephony for an outbound campaign. This parameter is required.- Returns:
this
-
capacity
@Stability(Stable) public CfnCampaign.TelephonyChannelSubtypeConfigProperty.Builder capacity(Number capacity) Sets the value ofCfnCampaign.TelephonyChannelSubtypeConfigProperty.getCapacity()- Parameters:
capacity- The allocation of telephony capacity between multiple running outbound campaigns.- Returns:
this
-
connectQueueId
@Stability(Stable) public CfnCampaign.TelephonyChannelSubtypeConfigProperty.Builder connectQueueId(String connectQueueId) Sets the value ofCfnCampaign.TelephonyChannelSubtypeConfigProperty.getConnectQueueId()- Parameters:
connectQueueId- The identifier of the Amazon Connect queue associated with telephony outbound requests of an outbound campaign.- 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
-