Interface AudioInputEvent.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AudioInputEvent.Builder,
,AudioInputEvent> SdkBuilder<AudioInputEvent.Builder,
,AudioInputEvent> SdkPojo
- All Known Subinterfaces:
DefaultAudioInputEvent.Builder
- Enclosing class:
AudioInputEvent
public static interface AudioInputEvent.Builder
extends SdkPojo, CopyableBuilder<AudioInputEvent.Builder,AudioInputEvent>
-
Method Summary
Modifier and TypeMethodDescriptionaudioChunk
(SdkBytes audioChunk) An encoded stream of audio.clientTimestampMillis
(Long clientTimestampMillis) A timestamp set by the client of the date and time that the event was sent to Amazon Lex V2.contentType
(String contentType) The encoding used for the audio chunk.A unique identifier that your application assigns to the event.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
audioChunk
An encoded stream of audio.
- Parameters:
audioChunk
- An encoded stream of audio.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
- Parameters:
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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventId
A unique identifier that your application assigns to the event. You can use this to identify events in logs.
- Parameters:
eventId
- A unique identifier that your application assigns to the event. You can use this to identify events in logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientTimestampMillis
A timestamp set by the client of the date and time that the event was sent to Amazon Lex V2.
- Parameters:
clientTimestampMillis
- A timestamp set by the client of the date and time that the event was sent to Amazon Lex V2.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-