Interface DTMFSpecification.Builder

All Superinterfaces:
Buildable, CopyableBuilder<DTMFSpecification.Builder,DTMFSpecification>, SdkBuilder<DTMFSpecification.Builder,DTMFSpecification>, SdkPojo
Enclosing class:
DTMFSpecification

public static interface DTMFSpecification.Builder extends SdkPojo, CopyableBuilder<DTMFSpecification.Builder,DTMFSpecification>
  • Method Details

    • maxLength

      DTMFSpecification.Builder maxLength(Integer maxLength)

      The maximum number of DTMF digits allowed in an utterance.

      Parameters:
      maxLength - The maximum number of DTMF digits allowed in an utterance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endTimeoutMs

      DTMFSpecification.Builder endTimeoutMs(Integer endTimeoutMs)

      How long the bot should wait after the last DTMF character input before assuming that the input has concluded.

      Parameters:
      endTimeoutMs - How long the bot should wait after the last DTMF character input before assuming that the input has concluded.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deletionCharacter

      DTMFSpecification.Builder deletionCharacter(String deletionCharacter)

      The DTMF character that clears the accumulated DTMF digits and immediately ends the input.

      Parameters:
      deletionCharacter - The DTMF character that clears the accumulated DTMF digits and immediately ends the input.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endCharacter

      DTMFSpecification.Builder endCharacter(String endCharacter)

      The DTMF character that immediately ends input. If the user does not press this character, the input ends after the end timeout.

      Parameters:
      endCharacter - The DTMF character that immediately ends input. If the user does not press this character, the input ends after the end timeout.
      Returns:
      Returns a reference to this object so that method calls can be chained together.