Class CfnCampaign.TelephonyOutboundConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connectcampaignsv2.CfnCampaign.TelephonyOutboundConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCampaign.TelephonyOutboundConfigProperty>
- Enclosing interface:
CfnCampaign.TelephonyOutboundConfigProperty
@Stability(Stable)
public static final class CfnCampaign.TelephonyOutboundConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaign.TelephonyOutboundConfigProperty>
A builder for
CfnCampaign.TelephonyOutboundConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanswerMachineDetectionConfig(IResolvable answerMachineDetectionConfig) answerMachineDetectionConfig(CfnCampaign.AnswerMachineDetectionConfigProperty answerMachineDetectionConfig) build()Builds the configured instance.connectContactFlowId(String connectContactFlowId) Sets the value ofCfnCampaign.TelephonyOutboundConfigProperty.getConnectContactFlowId()connectSourcePhoneNumber(String connectSourcePhoneNumber)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectContactFlowId
@Stability(Stable) public CfnCampaign.TelephonyOutboundConfigProperty.Builder connectContactFlowId(String connectContactFlowId) Sets the value ofCfnCampaign.TelephonyOutboundConfigProperty.getConnectContactFlowId()- Parameters:
connectContactFlowId- The identifier of the contact flow for the outbound call. This parameter is required.- Returns:
this
-
answerMachineDetectionConfig
@Stability(Stable) public CfnCampaign.TelephonyOutboundConfigProperty.Builder answerMachineDetectionConfig(IResolvable answerMachineDetectionConfig) - Parameters:
answerMachineDetectionConfig- The configuration used for answering machine detection during outbound calls.- Returns:
this
-
answerMachineDetectionConfig
@Stability(Stable) public CfnCampaign.TelephonyOutboundConfigProperty.Builder answerMachineDetectionConfig(CfnCampaign.AnswerMachineDetectionConfigProperty answerMachineDetectionConfig) - Parameters:
answerMachineDetectionConfig- The configuration used for answering machine detection during outbound calls.- Returns:
this
-
connectSourcePhoneNumber
@Stability(Stable) public CfnCampaign.TelephonyOutboundConfigProperty.Builder connectSourcePhoneNumber(String connectSourcePhoneNumber) - Parameters:
connectSourcePhoneNumber- The phone number associated with the Amazon Connect instance, in E.164 format. If you do not specify a source phone number, you must specify a queue.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCampaign.TelephonyOutboundConfigProperty>- Returns:
- a new instance of
CfnCampaign.TelephonyOutboundConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-