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
@Stability(Stable) public static CfnCampaign.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- 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
- See Also:
-
dialerConfig
Contains information about the dialer configuration.- Parameters:
dialerConfig
- Contains information about the dialer configuration. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
name
The name of the campaign.- Parameters:
name
- The name of the campaign. This parameter is required.- Returns:
this
- See Also:
-
outboundCallConfig
Contains information about the outbound call configuration.- Parameters:
outboundCallConfig
- Contains information about the outbound call configuration. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
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
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCampaign>
- Returns:
- a newly built instance of
CfnCampaign
.
-