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.
|
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. 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 in the current
session.
eventId - A unique identifier of the event sent by Amazon Lex. 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 in the current session.Copyright © 2021. All rights reserved.