Class CfnCampaignProps.Builder
java.lang.Object
software.amazon.awscdk.services.connectcampaigns.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.connectInstanceArn(String connectInstanceArn) Sets the value ofCfnCampaignProps.getConnectInstanceArn()dialerConfig(IResolvable dialerConfig) Sets the value ofCfnCampaignProps.getDialerConfig()dialerConfig(CfnCampaign.DialerConfigProperty dialerConfig) Sets the value ofCfnCampaignProps.getDialerConfig()Sets the value ofCfnCampaignProps.getName()outboundCallConfig(IResolvable outboundCallConfig) Sets the value ofCfnCampaignProps.getOutboundCallConfig()outboundCallConfig(CfnCampaign.OutboundCallConfigProperty outboundCallConfig) Sets the value ofCfnCampaignProps.getOutboundCallConfig()Sets the value ofCfnCampaignProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectInstanceArn
Sets the value ofCfnCampaignProps.getConnectInstanceArn()- Parameters:
connectInstanceArn- The Amazon Resource Name (ARN) of the Amazon Connect instance. This parameter is required.- Returns:
this
-
dialerConfig
Sets the value ofCfnCampaignProps.getDialerConfig()- Parameters:
dialerConfig- Contains information about the dialer configuration. This parameter is required.- Returns:
this
-
dialerConfig
@Stability(Stable) public CfnCampaignProps.Builder dialerConfig(CfnCampaign.DialerConfigProperty dialerConfig) Sets the value ofCfnCampaignProps.getDialerConfig()- Parameters:
dialerConfig- Contains information about the dialer configuration. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnCampaignProps.getName()- Parameters:
name- The name of the campaign. This parameter is required.- Returns:
this
-
outboundCallConfig
@Stability(Stable) public CfnCampaignProps.Builder outboundCallConfig(IResolvable outboundCallConfig) Sets the value ofCfnCampaignProps.getOutboundCallConfig()- Parameters:
outboundCallConfig- Contains information about the outbound call configuration. This parameter is required.- Returns:
this
-
outboundCallConfig
@Stability(Stable) public CfnCampaignProps.Builder outboundCallConfig(CfnCampaign.OutboundCallConfigProperty outboundCallConfig) Sets the value ofCfnCampaignProps.getOutboundCallConfig()- Parameters:
outboundCallConfig- Contains information about the outbound call configuration. This parameter is required.- 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
-