Interface CfnBot.DTMFSpecificationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnBot.DTMFSpecificationProperty.Jsii$Proxy
Enclosing class:
CfnBot

@Stability(Stable) public static interface CfnBot.DTMFSpecificationProperty extends software.amazon.jsii.JsiiSerializable
Specifies the DTMF input specifications.

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.*;
 DTMFSpecificationProperty dTMFSpecificationProperty = DTMFSpecificationProperty.builder()
         .deletionCharacter("deletionCharacter")
         .endCharacter("endCharacter")
         .endTimeoutMs(123)
         .maxLength(123)
         .build();
 
  • Method Details

    • getDeletionCharacter

      @Stability(Stable) @NotNull String getDeletionCharacter()
      The DTMF character that clears the accumulated DTMF digits and immediately ends the input.
    • getEndCharacter

      @Stability(Stable) @NotNull String getEndCharacter()
      The DTMF character that immediately ends input.

      If the user does not press this character, the input ends after the end timeout.

    • getEndTimeoutMs

      @Stability(Stable) @NotNull Number getEndTimeoutMs()
      How long the bot should wait after the last DTMF character input before assuming that the input has concluded.
    • getMaxLength

      @Stability(Stable) @NotNull Number getMaxLength()
      The maximum number of DTMF digits allowed in an utterance.
    • builder

      @Stability(Stable) static CfnBot.DTMFSpecificationProperty.Builder builder()
      Returns:
      a CfnBot.DTMFSpecificationProperty.Builder of CfnBot.DTMFSpecificationProperty