Class CfnTestCasePropsMixin.VoiceCallEntryPointParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connect.CfnTestCasePropsMixin.VoiceCallEntryPointParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTestCasePropsMixin.VoiceCallEntryPointParametersProperty>
- Enclosing interface:
CfnTestCasePropsMixin.VoiceCallEntryPointParametersProperty
@Stability(Stable)
public static final class CfnTestCasePropsMixin.VoiceCallEntryPointParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTestCasePropsMixin.VoiceCallEntryPointParametersProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.destinationPhoneNumber(String destinationPhoneNumber) Sets the value ofCfnTestCasePropsMixin.VoiceCallEntryPointParametersProperty.getFlowId()sourcePhoneNumber(String sourcePhoneNumber)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinationPhoneNumber
@Stability(Stable) public CfnTestCasePropsMixin.VoiceCallEntryPointParametersProperty.Builder destinationPhoneNumber(String destinationPhoneNumber) Sets the value ofCfnTestCasePropsMixin.VoiceCallEntryPointParametersProperty.getDestinationPhoneNumber()- Parameters:
destinationPhoneNumber- The destination phonenumber of the EntryPoint.- Returns:
this
-
flowId
@Stability(Stable) public CfnTestCasePropsMixin.VoiceCallEntryPointParametersProperty.Builder flowId(String flowId) Sets the value ofCfnTestCasePropsMixin.VoiceCallEntryPointParametersProperty.getFlowId()- Parameters:
flowId- The flow id used for the TestCase.- Returns:
this
-
sourcePhoneNumber
@Stability(Stable) public CfnTestCasePropsMixin.VoiceCallEntryPointParametersProperty.Builder sourcePhoneNumber(String sourcePhoneNumber) Sets the value ofCfnTestCasePropsMixin.VoiceCallEntryPointParametersProperty.getSourcePhoneNumber()- Parameters:
sourcePhoneNumber- The source phonenumber of the EntryPoint.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTestCasePropsMixin.VoiceCallEntryPointParametersProperty>- Returns:
- a new instance of
CfnTestCasePropsMixin.VoiceCallEntryPointParametersProperty - Throws:
NullPointerException- if any required attribute was not provided
-