Class CfnCampaign.AnswerMachineDetectionConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connectcampaigns.CfnCampaign.AnswerMachineDetectionConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCampaign.AnswerMachineDetectionConfigProperty>
- Enclosing interface:
- CfnCampaign.AnswerMachineDetectionConfigProperty
@Stability(Stable)
public static final class CfnCampaign.AnswerMachineDetectionConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCampaign.AnswerMachineDetectionConfigProperty>
A builder for
CfnCampaign.AnswerMachineDetectionConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.enableAnswerMachineDetection
(Boolean enableAnswerMachineDetection) enableAnswerMachineDetection
(IResolvable enableAnswerMachineDetection)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enableAnswerMachineDetection
@Stability(Stable) public CfnCampaign.AnswerMachineDetectionConfigProperty.Builder enableAnswerMachineDetection(Boolean enableAnswerMachineDetection) Sets the value ofCfnCampaign.AnswerMachineDetectionConfigProperty.getEnableAnswerMachineDetection()
- Parameters:
enableAnswerMachineDetection
-CfnCampaign.AnswerMachineDetectionConfigProperty.EnableAnswerMachineDetection
. This parameter is required.- Returns:
this
-
enableAnswerMachineDetection
@Stability(Stable) public CfnCampaign.AnswerMachineDetectionConfigProperty.Builder enableAnswerMachineDetection(IResolvable enableAnswerMachineDetection) Sets the value ofCfnCampaign.AnswerMachineDetectionConfigProperty.getEnableAnswerMachineDetection()
- Parameters:
enableAnswerMachineDetection
-CfnCampaign.AnswerMachineDetectionConfigProperty.EnableAnswerMachineDetection
. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCampaign.AnswerMachineDetectionConfigProperty>
- Returns:
- a new instance of
CfnCampaign.AnswerMachineDetectionConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-