Interface AudioFillerSettings.Builder

  • Method Details

    • enabled

      Specifies whether audio filler playback is enabled for the bot locale. Set to true to play filler audio while Amazon Lex processes a user utterance. Set to false to disable filler audio.

      Parameters:
      enabled - Specifies whether audio filler playback is enabled for the bot locale. Set to true to play filler audio while Amazon Lex processes a user utterance. Set to false to disable filler audio.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • audioType

      AudioFillerSettings.Builder audioType(String audioType)

      The identifier of the audio filler to play while Amazon Lex processes the user's input. This field is required when enabled is true.

      Parameters:
      audioType - The identifier of the audio filler to play while Amazon Lex processes the user's input. This field is required when enabled is true.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • audioType

      The identifier of the audio filler to play while Amazon Lex processes the user's input. This field is required when enabled is true.

      Parameters:
      audioType - The identifier of the audio filler to play while Amazon Lex processes the user's input. This field is required when enabled is true.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • startDelayInMilliseconds

      AudioFillerSettings.Builder startDelayInMilliseconds(Integer startDelayInMilliseconds)

      The time, in milliseconds, to wait after the end of the user's utterance before starting audio filler playback. Valid range is 500 to 5000 milliseconds. If not specified, Amazon Lex uses a default of 2500 milliseconds.

      Parameters:
      startDelayInMilliseconds - The time, in milliseconds, to wait after the end of the user's utterance before starting audio filler playback. Valid range is 500 to 5000 milliseconds. If not specified, Amazon Lex uses a default of 2500 milliseconds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • minimumPlayDurationInMilliseconds

      AudioFillerSettings.Builder minimumPlayDurationInMilliseconds(Integer minimumPlayDurationInMilliseconds)

      The minimum time, in milliseconds, that audio filler plays once it has started, even if the bot response becomes ready sooner. Valid range is 1000 to 5000 milliseconds. If not specified, Amazon Lex uses a default of 3000 milliseconds.

      Parameters:
      minimumPlayDurationInMilliseconds - The minimum time, in milliseconds, that audio filler plays once it has started, even if the bot response becomes ready sooner. Valid range is 1000 to 5000 milliseconds. If not specified, Amazon Lex uses a default of 3000 milliseconds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • responseDeliveryDelayInMilliseconds

      AudioFillerSettings.Builder responseDeliveryDelayInMilliseconds(Integer responseDeliveryDelayInMilliseconds)

      The silent delay, in milliseconds, inserted between the end of audio filler playback and the start of the bot's response. Valid range is 200 to 1000 milliseconds. If not specified, Amazon Lex uses a default of 500 milliseconds.

      Parameters:
      responseDeliveryDelayInMilliseconds - The silent delay, in milliseconds, inserted between the end of audio filler playback and the start of the bot's response. Valid range is 200 to 1000 milliseconds. If not specified, Amazon Lex uses a default of 500 milliseconds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.