Class CfnCampaign.CommunicationLimitsConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connectcampaignsv2.CfnCampaign.CommunicationLimitsConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCampaign.CommunicationLimitsConfigProperty>
- Enclosing interface:
CfnCampaign.CommunicationLimitsConfigProperty
@Stability(Stable)
public static final class CfnCampaign.CommunicationLimitsConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaign.CommunicationLimitsConfigProperty>
A builder for
CfnCampaign.CommunicationLimitsConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallChannelsSubtypes(IResolvable allChannelsSubtypes) Sets the value ofCfnCampaign.CommunicationLimitsConfigProperty.getAllChannelsSubtypes()allChannelsSubtypes(CfnCampaign.CommunicationLimitsProperty allChannelsSubtypes) Sets the value ofCfnCampaign.CommunicationLimitsConfigProperty.getAllChannelsSubtypes()build()Builds the configured instance.instanceLimitsHandling(String instanceLimitsHandling)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allChannelsSubtypes
@Stability(Stable) public CfnCampaign.CommunicationLimitsConfigProperty.Builder allChannelsSubtypes(IResolvable allChannelsSubtypes) Sets the value ofCfnCampaign.CommunicationLimitsConfigProperty.getAllChannelsSubtypes()- Parameters:
allChannelsSubtypes- The CommunicationLimits that apply to all channel subtypes defined in an outbound campaign.- Returns:
this
-
allChannelsSubtypes
@Stability(Stable) public CfnCampaign.CommunicationLimitsConfigProperty.Builder allChannelsSubtypes(CfnCampaign.CommunicationLimitsProperty allChannelsSubtypes) Sets the value ofCfnCampaign.CommunicationLimitsConfigProperty.getAllChannelsSubtypes()- Parameters:
allChannelsSubtypes- The CommunicationLimits that apply to all channel subtypes defined in an outbound campaign.- Returns:
this
-
instanceLimitsHandling
@Stability(Stable) public CfnCampaign.CommunicationLimitsConfigProperty.Builder instanceLimitsHandling(String instanceLimitsHandling) - Parameters:
instanceLimitsHandling- Opt-in or Opt-out from instance-level limits.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCampaign.CommunicationLimitsConfigProperty>- Returns:
- a new instance of
CfnCampaign.CommunicationLimitsConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-