Class CfnCampaign.Builder
java.lang.Object
software.amazon.awscdk.services.connectcampaigns.CfnCampaign.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCampaign>
- Enclosing class:
- CfnCampaign
@Stability(Stable)
public static final class CfnCampaign.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaign>
A fluent builder for
CfnCampaign
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
connectInstanceArn
(String connectInstanceArn) The Amazon Resource Name (ARN) of the Amazon Connect instance.static CfnCampaign.Builder
dialerConfig
(IResolvable dialerConfig) Contains information about the dialer configuration.dialerConfig
(CfnCampaign.DialerConfigProperty dialerConfig) Contains information about the dialer configuration.The name of the campaign.outboundCallConfig
(IResolvable outboundCallConfig) Contains information about the outbound call configuration.outboundCallConfig
(CfnCampaign.OutboundCallConfigProperty outboundCallConfig) Contains information about the outbound call configuration.The tags used to organize, track, or control access for this resource.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnCampaign.Builder
.
-
connectInstanceArn
The Amazon Resource Name (ARN) of the Amazon Connect instance.- Parameters:
connectInstanceArn
- The Amazon Resource Name (ARN) of the Amazon Connect instance. This parameter is required.- Returns:
this
-
dialerConfig
@Stability(Stable) public CfnCampaign.Builder dialerConfig(CfnCampaign.DialerConfigProperty dialerConfig) Contains information about the dialer configuration.- Parameters:
dialerConfig
- Contains information about the dialer configuration. This parameter is required.- Returns:
this
-
dialerConfig
Contains information about the dialer configuration.- Parameters:
dialerConfig
- Contains information about the dialer configuration. This parameter is required.- Returns:
this
-
name
The name of the campaign.- Parameters:
name
- The name of the campaign. This parameter is required.- Returns:
this
-
outboundCallConfig
Contains information about the outbound call configuration.- Parameters:
outboundCallConfig
- Contains information about the outbound call configuration. This parameter is required.- Returns:
this
-
outboundCallConfig
@Stability(Stable) public CfnCampaign.Builder outboundCallConfig(CfnCampaign.OutboundCallConfigProperty outboundCallConfig) Contains information about the outbound call configuration.- Parameters:
outboundCallConfig
- Contains information about the outbound call configuration. This parameter is required.- Returns:
this
-
tags
The tags used to organize, track, or control access for this resource.For example, { "tags": {"key1":"value1", "key2":"value2"} }.
- Parameters:
tags
- The tags used to organize, track, or control access for this resource. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCampaign>
- Returns:
- a newly built instance of
CfnCampaign
.
-