Interface KinesisVideoStreamSourceRuntimeConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<KinesisVideoStreamSourceRuntimeConfiguration.Builder,KinesisVideoStreamSourceRuntimeConfiguration>,SdkBuilder<KinesisVideoStreamSourceRuntimeConfiguration.Builder,KinesisVideoStreamSourceRuntimeConfiguration>,SdkPojo
- Enclosing class:
- KinesisVideoStreamSourceRuntimeConfiguration
public static interface KinesisVideoStreamSourceRuntimeConfiguration.Builder extends SdkPojo, CopyableBuilder<KinesisVideoStreamSourceRuntimeConfiguration.Builder,KinesisVideoStreamSourceRuntimeConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KinesisVideoStreamSourceRuntimeConfiguration.BuildermediaEncoding(String mediaEncoding)Specifies the encoding of your input audio.KinesisVideoStreamSourceRuntimeConfiguration.BuildermediaEncoding(MediaEncoding mediaEncoding)Specifies the encoding of your input audio.KinesisVideoStreamSourceRuntimeConfiguration.BuildermediaSampleRate(Integer mediaSampleRate)The sample rate of the input audio (in hertz).KinesisVideoStreamSourceRuntimeConfiguration.Builderstreams(Collection<StreamConfiguration> streams)The streams in the source runtime configuration of a Kinesis video stream.KinesisVideoStreamSourceRuntimeConfiguration.Builderstreams(Consumer<StreamConfiguration.Builder>... streams)The streams in the source runtime configuration of a Kinesis video stream.KinesisVideoStreamSourceRuntimeConfiguration.Builderstreams(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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
KinesisVideoStreamSourceRuntimeConfiguration.Builder streams(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
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.Builderavoiding the need to create one manually viaStreamConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#streams(List.) - 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:
#streams(java.util.Collection)
-
mediaEncoding
KinesisVideoStreamSourceRuntimeConfiguration.Builder mediaEncoding(String 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,MediaEncoding
-
mediaEncoding
KinesisVideoStreamSourceRuntimeConfiguration.Builder mediaEncoding(MediaEncoding 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,MediaEncoding
-
mediaSampleRate
KinesisVideoStreamSourceRuntimeConfiguration.Builder mediaSampleRate(Integer 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.
-
-