Interface AudioFillerSettings.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AudioFillerSettings.Builder,,AudioFillerSettings> SdkBuilder<AudioFillerSettings.Builder,,AudioFillerSettings> SdkPojo
- Enclosing class:
AudioFillerSettings
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the audio filler to play while Amazon Lex processes the user's input.audioType(AudioFillerType audioType) The identifier of the audio filler to play while Amazon Lex processes the user's input.Specifies whether audio filler playback is enabled for the bot locale.minimumPlayDurationInMilliseconds(Integer minimumPlayDurationInMilliseconds) The minimum time, in milliseconds, that audio filler plays once it has started, even if the bot response becomes ready sooner.responseDeliveryDelayInMilliseconds(Integer responseDeliveryDelayInMilliseconds) The silent delay, in milliseconds, inserted between the end of audio filler playback and the start of the bot's response.startDelayInMilliseconds(Integer startDelayInMilliseconds) The time, in milliseconds, to wait after the end of the user's utterance before starting audio filler playback.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
enabled
Specifies whether audio filler playback is enabled for the bot locale. Set to
trueto play filler audio while Amazon Lex processes a user utterance. Set tofalseto disable filler audio.- Parameters:
enabled- Specifies whether audio filler playback is enabled for the bot locale. Set totrueto play filler audio while Amazon Lex processes a user utterance. Set tofalseto disable filler audio.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
audioType
The identifier of the audio filler to play while Amazon Lex processes the user's input. This field is required when
enabledistrue.- Parameters:
audioType- The identifier of the audio filler to play while Amazon Lex processes the user's input. This field is required whenenabledistrue.- 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
enabledistrue.- Parameters:
audioType- The identifier of the audio filler to play while Amazon Lex processes the user's input. This field is required whenenabledistrue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startDelayInMilliseconds
The time, in milliseconds, to wait after the end of the user's utterance before starting audio filler playback. Valid range is
500to5000milliseconds. If not specified, Amazon Lex uses a default of2500milliseconds.- Parameters:
startDelayInMilliseconds- The time, in milliseconds, to wait after the end of the user's utterance before starting audio filler playback. Valid range is500to5000milliseconds. If not specified, Amazon Lex uses a default of2500milliseconds.- 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
1000to5000milliseconds. If not specified, Amazon Lex uses a default of3000milliseconds.- 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 is1000to5000milliseconds. If not specified, Amazon Lex uses a default of3000milliseconds.- 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
200to1000milliseconds. If not specified, Amazon Lex uses a default of500milliseconds.- 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 is200to1000milliseconds. If not specified, Amazon Lex uses a default of500milliseconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-