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();
- See Also:
-
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.- See Also:
-
getAllowInterrupt
Indicates whether the user can interrupt a speech prompt attempt from the bot.- See Also:
-
getAudioAndDtmfInputSpecification
Specifies the settings on audio and DTMF input.- See Also:
-
getTextInputSpecification
Specifies the settings on text input.- See Also:
-
builder
-