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 Details

    • 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

      The streams in the source runtime configuration of a Kinesis video stream.

      This is a convenience method that creates an instance of the StreamConfiguration.Builder avoiding the need to create one manually via StreamConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to streams(List<StreamConfiguration>).

      Parameters:
      streams - a consumer that will call methods on StreamConfiguration.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.