public static interface AudioInputEvent.Builder extends SdkPojo, CopyableBuilder<AudioInputEvent.Builder,AudioInputEvent>
| Modifier and Type | Method and Description |
|---|---|
AudioInputEvent.Builder |
audioChunk(SdkBytes audioChunk)
An encoded stream of audio.
|
AudioInputEvent.Builder |
clientTimestampMillis(Long clientTimestampMillis)
A timestamp set by the client of the date and time that the event was sent to Amazon Lex V2.
|
AudioInputEvent.Builder |
contentType(String contentType)
The encoding used for the audio chunk.
|
AudioInputEvent.Builder |
eventId(String eventId)
A unique identifier that your application assigns to the event.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAudioInputEvent.Builder audioChunk(SdkBytes audioChunk)
An encoded stream of audio.
audioChunk - An encoded stream of audio.AudioInputEvent.Builder contentType(String contentType)
The encoding used for the audio chunk. You must use 8 KHz PCM 16-bit mono-channel little-endian format. The value of the field should be:
audio/lpcm; sample-rate=8000; sample-size-bits=16; channel-count=1; is-big-endian=false
contentType - The encoding used for the audio chunk. You must use 8 KHz PCM 16-bit mono-channel little-endian
format. The value of the field should be:
audio/lpcm; sample-rate=8000; sample-size-bits=16; channel-count=1; is-big-endian=false
AudioInputEvent.Builder eventId(String eventId)
A unique identifier that your application assigns to the event. You can use this to identify events in logs.
eventId - A unique identifier that your application assigns to the event. You can use this to identify events in
logs.AudioInputEvent.Builder clientTimestampMillis(Long clientTimestampMillis)
A timestamp set by the client of the date and time that the event was sent to Amazon Lex V2.
clientTimestampMillis - A timestamp set by the client of the date and time that the event was sent to Amazon Lex V2.Copyright © 2023. All rights reserved.