Class CfnCampaignProps.Builder
java.lang.Object
software.amazon.awscdk.services.connectcampaignsv2.CfnCampaignProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCampaignProps>
- Enclosing interface:
CfnCampaignProps
@Stability(Stable)
public static final class CfnCampaignProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaignProps>
A builder for
CfnCampaignProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.channelSubtypeConfig(IResolvable channelSubtypeConfig) Sets the value ofCfnCampaignProps.getChannelSubtypeConfig()channelSubtypeConfig(CfnCampaign.ChannelSubtypeConfigProperty channelSubtypeConfig) Sets the value ofCfnCampaignProps.getChannelSubtypeConfig()communicationLimitsOverride(IResolvable communicationLimitsOverride) Sets the value ofCfnCampaignProps.getCommunicationLimitsOverride()communicationLimitsOverride(CfnCampaign.CommunicationLimitsConfigProperty communicationLimitsOverride) Sets the value ofCfnCampaignProps.getCommunicationLimitsOverride()communicationTimeConfig(IResolvable communicationTimeConfig) Sets the value ofCfnCampaignProps.getCommunicationTimeConfig()communicationTimeConfig(CfnCampaign.CommunicationTimeConfigProperty communicationTimeConfig) Sets the value ofCfnCampaignProps.getCommunicationTimeConfig()connectCampaignFlowArn(String connectCampaignFlowArn) Sets the value ofCfnCampaignProps.getConnectCampaignFlowArn()connectInstanceId(String connectInstanceId) Sets the value ofCfnCampaignProps.getConnectInstanceId()Sets the value ofCfnCampaignProps.getName()schedule(IResolvable schedule) Sets the value ofCfnCampaignProps.getSchedule()schedule(CfnCampaign.ScheduleProperty schedule) Sets the value ofCfnCampaignProps.getSchedule()source(IResolvable source) Sets the value ofCfnCampaignProps.getSource()source(CfnCampaign.SourceProperty source) Sets the value ofCfnCampaignProps.getSource()Sets the value ofCfnCampaignProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
channelSubtypeConfig
@Stability(Stable) public CfnCampaignProps.Builder channelSubtypeConfig(IResolvable channelSubtypeConfig) Sets the value ofCfnCampaignProps.getChannelSubtypeConfig()- Parameters:
channelSubtypeConfig- Contains channel subtype configuration for an outbound campaign. This parameter is required.- Returns:
this
-
channelSubtypeConfig
@Stability(Stable) public CfnCampaignProps.Builder channelSubtypeConfig(CfnCampaign.ChannelSubtypeConfigProperty channelSubtypeConfig) Sets the value ofCfnCampaignProps.getChannelSubtypeConfig()- Parameters:
channelSubtypeConfig- Contains channel subtype configuration for an outbound campaign. This parameter is required.- Returns:
this
-
connectInstanceId
Sets the value ofCfnCampaignProps.getConnectInstanceId()- Parameters:
connectInstanceId- The identifier of the Amazon Connect instance. This parameter is required. You can find theinstanceIdin the ARN of the instance.- Returns:
this
-
name
Sets the value ofCfnCampaignProps.getName()- Parameters:
name- The name of the outbound campaign. This parameter is required.- Returns:
this
-
communicationLimitsOverride
@Stability(Stable) public CfnCampaignProps.Builder communicationLimitsOverride(IResolvable communicationLimitsOverride) Sets the value ofCfnCampaignProps.getCommunicationLimitsOverride()- Parameters:
communicationLimitsOverride- Communication limits configuration for an outbound campaign.- Returns:
this
-
communicationLimitsOverride
@Stability(Stable) public CfnCampaignProps.Builder communicationLimitsOverride(CfnCampaign.CommunicationLimitsConfigProperty communicationLimitsOverride) Sets the value ofCfnCampaignProps.getCommunicationLimitsOverride()- Parameters:
communicationLimitsOverride- Communication limits configuration for an outbound campaign.- Returns:
this
-
communicationTimeConfig
@Stability(Stable) public CfnCampaignProps.Builder communicationTimeConfig(IResolvable communicationTimeConfig) Sets the value ofCfnCampaignProps.getCommunicationTimeConfig()- Parameters:
communicationTimeConfig- Contains communication time configuration for an outbound campaign.- Returns:
this
-
communicationTimeConfig
@Stability(Stable) public CfnCampaignProps.Builder communicationTimeConfig(CfnCampaign.CommunicationTimeConfigProperty communicationTimeConfig) Sets the value ofCfnCampaignProps.getCommunicationTimeConfig()- Parameters:
communicationTimeConfig- Contains communication time configuration for an outbound campaign.- Returns:
this
-
connectCampaignFlowArn
@Stability(Stable) public CfnCampaignProps.Builder connectCampaignFlowArn(String connectCampaignFlowArn) Sets the value ofCfnCampaignProps.getConnectCampaignFlowArn()- Parameters:
connectCampaignFlowArn- The Amazon Resource Name (ARN) of the Amazon Connect campaign flow associated with the outbound campaign.- Returns:
this
-
schedule
Sets the value ofCfnCampaignProps.getSchedule()- Parameters:
schedule- Contains the schedule configuration.- Returns:
this
-
schedule
Sets the value ofCfnCampaignProps.getSchedule()- Parameters:
schedule- Contains the schedule configuration.- Returns:
this
-
source
Sets the value ofCfnCampaignProps.getSource()- Parameters:
source- Contains source configuration.- Returns:
this
-
source
Sets the value ofCfnCampaignProps.getSource()- Parameters:
source- Contains source configuration.- Returns:
this
-
tags
Sets the value ofCfnCampaignProps.getTags()- Parameters:
tags- The tags used to organize, track, or control access for this resource. For example,{ "tags": {"key1":"value1", "key2":"value2"} }.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCampaignProps>- Returns:
- a new instance of
CfnCampaignProps - Throws:
NullPointerException- if any required attribute was not provided
-