Interface AudioSpecification.Builder

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

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

    • 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.