Interface KinesisVideoStreamSourceRuntimeConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<KinesisVideoStreamSourceRuntimeConfiguration.Builder,
,KinesisVideoStreamSourceRuntimeConfiguration> SdkBuilder<KinesisVideoStreamSourceRuntimeConfiguration.Builder,
,KinesisVideoStreamSourceRuntimeConfiguration> SdkPojo
- Enclosing class:
KinesisVideoStreamSourceRuntimeConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionmediaEncoding
(String mediaEncoding) Specifies the encoding of your input audio.mediaEncoding
(MediaEncoding mediaEncoding) Specifies the encoding of your input audio.mediaSampleRate
(Integer mediaSampleRate) The sample rate of the input audio (in hertz).streams
(Collection<StreamConfiguration> streams) The streams in the source runtime configuration of a Kinesis video stream.streams
(Consumer<StreamConfiguration.Builder>... streams) The streams in the source runtime configuration of a Kinesis video stream.streams
(StreamConfiguration... streams) The streams in the source runtime configuration of a Kinesis video stream.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
-
streams
KinesisVideoStreamSourceRuntimeConfiguration.Builder streams(Collection<StreamConfiguration> streams) The streams in the source runtime configuration of a Kinesis video stream.
- Parameters:
streams
- The streams in the source runtime configuration of a Kinesis video stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streams
The streams in the source runtime configuration of a Kinesis video stream.
- Parameters:
streams
- The streams in the source runtime configuration of a Kinesis video stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streams
KinesisVideoStreamSourceRuntimeConfiguration.Builder streams(Consumer<StreamConfiguration.Builder>... streams) The streams in the source runtime configuration of a Kinesis video stream.
This is a convenience method that creates an instance of theStreamConfiguration.Builder
avoiding the need to create one manually viaStreamConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostreams(List<StreamConfiguration>)
.- Parameters:
streams
- a consumer that will call methods onStreamConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mediaEncoding
Specifies the encoding of your input audio. Supported format: PCM (only signed 16-bit little-endian audio formats, which does not include WAV)
For more information, see Media formats in the Amazon Transcribe Developer Guide.
- Parameters:
mediaEncoding
- Specifies the encoding of your input audio. Supported format: PCM (only signed 16-bit little-endian audio formats, which does not include WAV)For more information, see Media formats in the Amazon Transcribe Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mediaEncoding
Specifies the encoding of your input audio. Supported format: PCM (only signed 16-bit little-endian audio formats, which does not include WAV)
For more information, see Media formats in the Amazon Transcribe Developer Guide.
- Parameters:
mediaEncoding
- Specifies the encoding of your input audio. Supported format: PCM (only signed 16-bit little-endian audio formats, which does not include WAV)For more information, see Media formats in the Amazon Transcribe Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mediaSampleRate
The sample rate of the input audio (in hertz). Low-quality audio, such as telephone audio, is typically around 8,000 Hz. High-quality audio typically ranges from 16,000 Hz to 48,000 Hz. Note that the sample rate you specify must match that of your audio.
Valid Range: Minimum value of 8000. Maximum value of 48000.
- Parameters:
mediaSampleRate
- The sample rate of the input audio (in hertz). Low-quality audio, such as telephone audio, is typically around 8,000 Hz. High-quality audio typically ranges from 16,000 Hz to 48,000 Hz. Note that the sample rate you specify must match that of your audio.Valid Range: Minimum value of 8000. Maximum value of 48000.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-