Interface CfnBot.PromptAttemptSpecificationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBot.PromptAttemptSpecificationProperty.Jsii$Proxy
- Enclosing class:
CfnBot
@Stability(Stable)
public static interface CfnBot.PromptAttemptSpecificationProperty
extends software.amazon.jsii.JsiiSerializable
Specifies the settings on a prompt attempt.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.lex.*; PromptAttemptSpecificationProperty promptAttemptSpecificationProperty = PromptAttemptSpecificationProperty.builder() .allowedInputTypes(AllowedInputTypesProperty.builder() .allowAudioInput(false) .allowDtmfInput(false) .build()) // the properties below are optional .allowInterrupt(false) .audioAndDtmfInputSpecification(AudioAndDTMFInputSpecificationProperty.builder() .startTimeoutMs(123) // the properties below are optional .audioSpecification(AudioSpecificationProperty.builder() .endTimeoutMs(123) .maxLengthMs(123) .build()) .dtmfSpecification(DTMFSpecificationProperty.builder() .deletionCharacter("deletionCharacter") .endCharacter("endCharacter") .endTimeoutMs(123) .maxLength(123) .build()) .build()) .textInputSpecification(TextInputSpecificationProperty.builder() .startTimeoutMs(123) .build()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnBot.PromptAttemptSpecificationProperty
static final class
An implementation forCfnBot.PromptAttemptSpecificationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Indicates the allowed input types of the prompt attempt.default Object
Indicates whether the user can interrupt a speech prompt attempt from the bot.default Object
Specifies the settings on audio and DTMF input.default Object
Specifies the settings on text input.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAllowedInputTypes
Indicates the allowed input types of the prompt attempt. -
getAllowInterrupt
Indicates whether the user can interrupt a speech prompt attempt from the bot. -
getAudioAndDtmfInputSpecification
Specifies the settings on audio and DTMF input. -
getTextInputSpecification
Specifies the settings on text input. -
builder
-