Class CfnCampaignPropsMixin.TelephonyOutboundConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connectcampaignsv2.CfnCampaignPropsMixin.TelephonyOutboundConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCampaignPropsMixin.TelephonyOutboundConfigProperty>
- Enclosing interface:
CfnCampaignPropsMixin.TelephonyOutboundConfigProperty
@Stability(Stable)
public static final class CfnCampaignPropsMixin.TelephonyOutboundConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaignPropsMixin.TelephonyOutboundConfigProperty>
A builder for
CfnCampaignPropsMixin.TelephonyOutboundConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanswerMachineDetectionConfig(CfnCampaignPropsMixin.AnswerMachineDetectionConfigProperty answerMachineDetectionConfig) answerMachineDetectionConfig(IResolvable answerMachineDetectionConfig) build()Builds the configured instance.connectContactFlowId(String connectContactFlowId) connectSourcePhoneNumber(String connectSourcePhoneNumber) ringTimeout(Number ringTimeout) Sets the value ofCfnCampaignPropsMixin.TelephonyOutboundConfigProperty.getRingTimeout()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
answerMachineDetectionConfig
@Stability(Stable) public CfnCampaignPropsMixin.TelephonyOutboundConfigProperty.Builder answerMachineDetectionConfig(IResolvable answerMachineDetectionConfig) Sets the value ofCfnCampaignPropsMixin.TelephonyOutboundConfigProperty.getAnswerMachineDetectionConfig()- Parameters:
answerMachineDetectionConfig- The answering machine detection configuration.- Returns:
this
-
answerMachineDetectionConfig
@Stability(Stable) public CfnCampaignPropsMixin.TelephonyOutboundConfigProperty.Builder answerMachineDetectionConfig(CfnCampaignPropsMixin.AnswerMachineDetectionConfigProperty answerMachineDetectionConfig) Sets the value ofCfnCampaignPropsMixin.TelephonyOutboundConfigProperty.getAnswerMachineDetectionConfig()- Parameters:
answerMachineDetectionConfig- The answering machine detection configuration.- Returns:
this
-
connectContactFlowId
@Stability(Stable) public CfnCampaignPropsMixin.TelephonyOutboundConfigProperty.Builder connectContactFlowId(String connectContactFlowId) - Parameters:
connectContactFlowId- The identifier of the published Amazon Connect contact flow.- Returns:
this
-
connectSourcePhoneNumber
@Stability(Stable) public CfnCampaignPropsMixin.TelephonyOutboundConfigProperty.Builder connectSourcePhoneNumber(String connectSourcePhoneNumber) Sets the value ofCfnCampaignPropsMixin.TelephonyOutboundConfigProperty.getConnectSourcePhoneNumber()- Parameters:
connectSourcePhoneNumber- The Amazon Connect source phone number.- Returns:
this
-
ringTimeout
@Stability(Stable) public CfnCampaignPropsMixin.TelephonyOutboundConfigProperty.Builder ringTimeout(Number ringTimeout) Sets the value ofCfnCampaignPropsMixin.TelephonyOutboundConfigProperty.getRingTimeout()- Parameters:
ringTimeout- The ring timeout configuration for outbound calls. Specifies how long to wait for the call to be answered before timing out.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCampaignPropsMixin.TelephonyOutboundConfigProperty>- Returns:
- a new instance of
CfnCampaignPropsMixin.TelephonyOutboundConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-