public static interface AudioResponseEvent.Builder extends SdkPojo, CopyableBuilder<AudioResponseEvent.Builder,AudioResponseEvent>
| Modifier and Type | Method and Description |
|---|---|
AudioResponseEvent.Builder |
audioChunk(SdkBytes audioChunk)
A chunk of the audio to play.
|
AudioResponseEvent.Builder |
contentType(String contentType)
The encoding of the audio chunk.
|
AudioResponseEvent.Builder |
eventId(String eventId)
A unique identifier of the event sent by Amazon Lex V2.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAudioResponseEvent.Builder audioChunk(SdkBytes audioChunk)
A chunk of the audio to play.
audioChunk - A chunk of the audio to play.AudioResponseEvent.Builder contentType(String contentType)
The encoding of the audio chunk. This is the same as the encoding configure in the contentType
field of the ConfigurationEvent.
contentType - The encoding of the audio chunk. This is the same as the encoding configure in the
contentType field of the ConfigurationEvent.AudioResponseEvent.Builder eventId(String eventId)
A unique identifier of the event sent by Amazon Lex V2. The identifier is in the form RESPONSE-N
, where N is a number starting with one and incremented for each event sent by Amazon Lex V2 in the current
session.
eventId - A unique identifier of the event sent by Amazon Lex V2. The identifier is in the form
RESPONSE-N, where N is a number starting with one and incremented for each event sent by
Amazon Lex V2 in the current session.Copyright © 2023. All rights reserved.