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();
 
  • Method Details