Class CfnCampaignMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connectcampaigns.CfnCampaignMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCampaignMixinProps>
- Enclosing interface:
CfnCampaignMixinProps
@Stability(Stable)
public static final class CfnCampaignMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaignMixinProps>
A builder for
CfnCampaignMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.connectInstanceArn(String connectInstanceArn) Sets the value ofCfnCampaignMixinProps.getConnectInstanceArn()dialerConfig(CfnCampaignPropsMixin.DialerConfigProperty dialerConfig) Sets the value ofCfnCampaignMixinProps.getDialerConfig()dialerConfig(IResolvable dialerConfig) Sets the value ofCfnCampaignMixinProps.getDialerConfig()Sets the value ofCfnCampaignMixinProps.getName()outboundCallConfig(CfnCampaignPropsMixin.OutboundCallConfigProperty outboundCallConfig) Sets the value ofCfnCampaignMixinProps.getOutboundCallConfig()outboundCallConfig(IResolvable outboundCallConfig) Sets the value ofCfnCampaignMixinProps.getOutboundCallConfig()Sets the value ofCfnCampaignMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectInstanceArn
@Stability(Stable) public CfnCampaignMixinProps.Builder connectInstanceArn(String connectInstanceArn) Sets the value ofCfnCampaignMixinProps.getConnectInstanceArn()- Parameters:
connectInstanceArn- The Amazon Resource Name (ARN) of the Amazon Connect instance.- Returns:
this
-
dialerConfig
Sets the value ofCfnCampaignMixinProps.getDialerConfig()- Parameters:
dialerConfig- Contains information about the dialer configuration.- Returns:
this
-
dialerConfig
@Stability(Stable) public CfnCampaignMixinProps.Builder dialerConfig(CfnCampaignPropsMixin.DialerConfigProperty dialerConfig) Sets the value ofCfnCampaignMixinProps.getDialerConfig()- Parameters:
dialerConfig- Contains information about the dialer configuration.- Returns:
this
-
name
Sets the value ofCfnCampaignMixinProps.getName()- Parameters:
name- The name of the campaign.- Returns:
this
-
outboundCallConfig
@Stability(Stable) public CfnCampaignMixinProps.Builder outboundCallConfig(IResolvable outboundCallConfig) Sets the value ofCfnCampaignMixinProps.getOutboundCallConfig()- Parameters:
outboundCallConfig- Contains information about the outbound call configuration.- Returns:
this
-
outboundCallConfig
@Stability(Stable) public CfnCampaignMixinProps.Builder outboundCallConfig(CfnCampaignPropsMixin.OutboundCallConfigProperty outboundCallConfig) Sets the value ofCfnCampaignMixinProps.getOutboundCallConfig()- Parameters:
outboundCallConfig- Contains information about the outbound call configuration.- Returns:
this
-
tags
Sets the value ofCfnCampaignMixinProps.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<CfnCampaignMixinProps>- Returns:
- a new instance of
CfnCampaignMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-