Class CfnBot.AllowedInputTypesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lex.CfnBot.AllowedInputTypesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBot.AllowedInputTypesProperty>
- Enclosing interface:
CfnBot.AllowedInputTypesProperty
@Stability(Stable)
public static final class CfnBot.AllowedInputTypesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBot.AllowedInputTypesProperty>
A builder for
CfnBot.AllowedInputTypesProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowAudioInput(Boolean allowAudioInput) Sets the value ofCfnBot.AllowedInputTypesProperty.getAllowAudioInput()allowAudioInput(IResolvable allowAudioInput) Sets the value ofCfnBot.AllowedInputTypesProperty.getAllowAudioInput()allowDtmfInput(Boolean allowDtmfInput) Sets the value ofCfnBot.AllowedInputTypesProperty.getAllowDtmfInput()allowDtmfInput(IResolvable allowDtmfInput) Sets the value ofCfnBot.AllowedInputTypesProperty.getAllowDtmfInput()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allowAudioInput
@Stability(Stable) public CfnBot.AllowedInputTypesProperty.Builder allowAudioInput(Boolean allowAudioInput) Sets the value ofCfnBot.AllowedInputTypesProperty.getAllowAudioInput()- Parameters:
allowAudioInput- Indicates whether audio input is allowed. This parameter is required.- Returns:
this
-
allowAudioInput
@Stability(Stable) public CfnBot.AllowedInputTypesProperty.Builder allowAudioInput(IResolvable allowAudioInput) Sets the value ofCfnBot.AllowedInputTypesProperty.getAllowAudioInput()- Parameters:
allowAudioInput- Indicates whether audio input is allowed. This parameter is required.- Returns:
this
-
allowDtmfInput
@Stability(Stable) public CfnBot.AllowedInputTypesProperty.Builder allowDtmfInput(Boolean allowDtmfInput) Sets the value ofCfnBot.AllowedInputTypesProperty.getAllowDtmfInput()- Parameters:
allowDtmfInput- Indicates whether DTMF input is allowed. This parameter is required.- Returns:
this
-
allowDtmfInput
@Stability(Stable) public CfnBot.AllowedInputTypesProperty.Builder allowDtmfInput(IResolvable allowDtmfInput) Sets the value ofCfnBot.AllowedInputTypesProperty.getAllowDtmfInput()- Parameters:
allowDtmfInput- Indicates whether DTMF input is allowed. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBot.AllowedInputTypesProperty>- Returns:
- a new instance of
CfnBot.AllowedInputTypesProperty - Throws:
NullPointerException- if any required attribute was not provided
-