Interface AudioSpecification.Builder

    • Method Detail

      • maxLengthMs

        AudioSpecification.Builder maxLengthMs​(Integer maxLengthMs)

        Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application.

        Parameters:
        maxLengthMs - Time for how long Amazon Lex waits before speech input is truncated and the speech is returned to application.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endTimeoutMs

        AudioSpecification.Builder endTimeoutMs​(Integer endTimeoutMs)

        Time for which a bot waits after the customer stops speaking to assume the utterance is finished.

        Parameters:
        endTimeoutMs - Time for which a bot waits after the customer stops speaking to assume the utterance is finished.
        Returns:
        Returns a reference to this object so that method calls can be chained together.