Class CfnCampaign.OutboundCallConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connectcampaigns.CfnCampaign.OutboundCallConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCampaign.OutboundCallConfigProperty>
- Enclosing interface:
CfnCampaign.OutboundCallConfigProperty
@Stability(Stable)
public static final class CfnCampaign.OutboundCallConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaign.OutboundCallConfigProperty>
A builder for
CfnCampaign.OutboundCallConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanswerMachineDetectionConfig(IResolvable answerMachineDetectionConfig) Sets the value ofCfnCampaign.OutboundCallConfigProperty.getAnswerMachineDetectionConfig()answerMachineDetectionConfig(CfnCampaign.AnswerMachineDetectionConfigProperty answerMachineDetectionConfig) Sets the value ofCfnCampaign.OutboundCallConfigProperty.getAnswerMachineDetectionConfig()build()Builds the configured instance.connectContactFlowArn(String connectContactFlowArn) Sets the value ofCfnCampaign.OutboundCallConfigProperty.getConnectContactFlowArn()connectQueueArn(String connectQueueArn) Sets the value ofCfnCampaign.OutboundCallConfigProperty.getConnectQueueArn()connectSourcePhoneNumber(String connectSourcePhoneNumber) Sets the value ofCfnCampaign.OutboundCallConfigProperty.getConnectSourcePhoneNumber()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectContactFlowArn
@Stability(Stable) public CfnCampaign.OutboundCallConfigProperty.Builder connectContactFlowArn(String connectContactFlowArn) Sets the value ofCfnCampaign.OutboundCallConfigProperty.getConnectContactFlowArn()- Parameters:
connectContactFlowArn- The Amazon Resource Name (ARN) of the flow. This parameter is required.- Returns:
this
-
answerMachineDetectionConfig
@Stability(Stable) public CfnCampaign.OutboundCallConfigProperty.Builder answerMachineDetectionConfig(IResolvable answerMachineDetectionConfig) Sets the value ofCfnCampaign.OutboundCallConfigProperty.getAnswerMachineDetectionConfig()- Parameters:
answerMachineDetectionConfig- Whether answering machine detection has been enabled.- Returns:
this
-
answerMachineDetectionConfig
@Stability(Stable) public CfnCampaign.OutboundCallConfigProperty.Builder answerMachineDetectionConfig(CfnCampaign.AnswerMachineDetectionConfigProperty answerMachineDetectionConfig) Sets the value ofCfnCampaign.OutboundCallConfigProperty.getAnswerMachineDetectionConfig()- Parameters:
answerMachineDetectionConfig- Whether answering machine detection has been enabled.- Returns:
this
-
connectQueueArn
@Stability(Stable) public CfnCampaign.OutboundCallConfigProperty.Builder connectQueueArn(String connectQueueArn) Sets the value ofCfnCampaign.OutboundCallConfigProperty.getConnectQueueArn()- Parameters:
connectQueueArn- The Amazon Resource Name (ARN) of the queue.- Returns:
this
-
connectSourcePhoneNumber
@Stability(Stable) public CfnCampaign.OutboundCallConfigProperty.Builder connectSourcePhoneNumber(String connectSourcePhoneNumber) Sets the value ofCfnCampaign.OutboundCallConfigProperty.getConnectSourcePhoneNumber()- Parameters:
connectSourcePhoneNumber- The phone number associated with the outbound call. This is the caller ID that is displayed to customers when an agent calls them.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCampaign.OutboundCallConfigProperty>- Returns:
- a new instance of
CfnCampaign.OutboundCallConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-