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