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- The possible types of channel subtype config parameters. This parameter is required.- Returns:
this
-
channelSubtypeConfig
@Stability(Stable) public CfnCampaignProps.Builder channelSubtypeConfig(CfnCampaign.ChannelSubtypeConfigProperty channelSubtypeConfig) Sets the value ofCfnCampaignProps.getChannelSubtypeConfig()- Parameters:
channelSubtypeConfig- The possible types of channel subtype config parameters. This parameter is required.- Returns:
this
-
connectInstanceId
Sets the value ofCfnCampaignProps.getConnectInstanceId()- Parameters:
connectInstanceId- Amazon Connect Instance Id. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnCampaignProps.getName()- Parameters:
name- Campaign name. This parameter is required.- Returns:
this
-
communicationLimitsOverride
@Stability(Stable) public CfnCampaignProps.Builder communicationLimitsOverride(IResolvable communicationLimitsOverride) Sets the value ofCfnCampaignProps.getCommunicationLimitsOverride()- Parameters:
communicationLimitsOverride- Communication limits config.- Returns:
this
-
communicationLimitsOverride
@Stability(Stable) public CfnCampaignProps.Builder communicationLimitsOverride(CfnCampaign.CommunicationLimitsConfigProperty communicationLimitsOverride) Sets the value ofCfnCampaignProps.getCommunicationLimitsOverride()- Parameters:
communicationLimitsOverride- Communication limits config.- Returns:
this
-
communicationTimeConfig
@Stability(Stable) public CfnCampaignProps.Builder communicationTimeConfig(IResolvable communicationTimeConfig) Sets the value ofCfnCampaignProps.getCommunicationTimeConfig()- Parameters:
communicationTimeConfig- Campaign communication time config.- Returns:
this
-
communicationTimeConfig
@Stability(Stable) public CfnCampaignProps.Builder communicationTimeConfig(CfnCampaign.CommunicationTimeConfigProperty communicationTimeConfig) Sets the value ofCfnCampaignProps.getCommunicationTimeConfig()- Parameters:
communicationTimeConfig- Campaign communication time config.- Returns:
this
-
connectCampaignFlowArn
@Stability(Stable) public CfnCampaignProps.Builder connectCampaignFlowArn(String connectCampaignFlowArn) Sets the value ofCfnCampaignProps.getConnectCampaignFlowArn()- Parameters:
connectCampaignFlowArn- Arn.- Returns:
this
-
schedule
Sets the value ofCfnCampaignProps.getSchedule()- Parameters:
schedule- Campaign schedule.- Returns:
this
-
schedule
Sets the value ofCfnCampaignProps.getSchedule()- Parameters:
schedule- Campaign schedule.- Returns:
this
-
source
Sets the value ofCfnCampaignProps.getSource()- Parameters:
source- The possible types of channel config parameters.- Returns:
this
-
source
Sets the value ofCfnCampaignProps.getSource()- Parameters:
source- The possible types of channel config parameters.- Returns:
this
-
tags
Sets the value ofCfnCampaignProps.getTags()- Parameters:
tags- One or more tags.- 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
-