@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KinesisVideoStreamSourceRuntimeConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The runtime configuration settings for the Kinesis video stream source.
Constructor and Description |
---|
KinesisVideoStreamSourceRuntimeConfiguration() |
Modifier and Type | Method and Description |
---|---|
KinesisVideoStreamSourceRuntimeConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getMediaEncoding()
Specifies the encoding of your input audio.
|
Integer |
getMediaSampleRate()
The sample rate of the input audio (in hertz).
|
List<StreamConfiguration> |
getStreams()
The streams in the source runtime configuration of a Kinesis video stream.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMediaEncoding(String mediaEncoding)
Specifies the encoding of your input audio.
|
void |
setMediaSampleRate(Integer mediaSampleRate)
The sample rate of the input audio (in hertz).
|
void |
setStreams(Collection<StreamConfiguration> streams)
The streams in the source runtime configuration of a Kinesis video stream.
|
String |
toString()
Returns a string representation of this object.
|
KinesisVideoStreamSourceRuntimeConfiguration |
withMediaEncoding(MediaEncoding mediaEncoding)
Specifies the encoding of your input audio.
|
KinesisVideoStreamSourceRuntimeConfiguration |
withMediaEncoding(String mediaEncoding)
Specifies the encoding of your input audio.
|
KinesisVideoStreamSourceRuntimeConfiguration |
withMediaSampleRate(Integer mediaSampleRate)
The sample rate of the input audio (in hertz).
|
KinesisVideoStreamSourceRuntimeConfiguration |
withStreams(Collection<StreamConfiguration> streams)
The streams in the source runtime configuration of a Kinesis video stream.
|
KinesisVideoStreamSourceRuntimeConfiguration |
withStreams(StreamConfiguration... streams)
The streams in the source runtime configuration of a Kinesis video stream.
|
public KinesisVideoStreamSourceRuntimeConfiguration()
public List<StreamConfiguration> getStreams()
The streams in the source runtime configuration of a Kinesis video stream.
public void setStreams(Collection<StreamConfiguration> streams)
The streams in the source runtime configuration of a Kinesis video stream.
streams
- The streams in the source runtime configuration of a Kinesis video stream.public KinesisVideoStreamSourceRuntimeConfiguration withStreams(StreamConfiguration... streams)
The streams in the source runtime configuration of a Kinesis video stream.
NOTE: This method appends the values to the existing list (if any). Use
setStreams(java.util.Collection)
or withStreams(java.util.Collection)
if you want to override
the existing values.
streams
- The streams in the source runtime configuration of a Kinesis video stream.public KinesisVideoStreamSourceRuntimeConfiguration withStreams(Collection<StreamConfiguration> streams)
The streams in the source runtime configuration of a Kinesis video stream.
streams
- The streams in the source runtime configuration of a Kinesis video stream.public void setMediaEncoding(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.
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.
MediaEncoding
public String getMediaEncoding()
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.
For more information, see Media formats in the Amazon Transcribe Developer Guide.
MediaEncoding
public KinesisVideoStreamSourceRuntimeConfiguration withMediaEncoding(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.
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.
MediaEncoding
public KinesisVideoStreamSourceRuntimeConfiguration withMediaEncoding(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.
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.
MediaEncoding
public void setMediaSampleRate(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.
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.
public Integer getMediaSampleRate()
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.
Valid Range: Minimum value of 8000. Maximum value of 48000.
public KinesisVideoStreamSourceRuntimeConfiguration withMediaSampleRate(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.
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.
public String toString()
toString
in class Object
Object.toString()
public KinesisVideoStreamSourceRuntimeConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.