@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AudioConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Object specifying a stream’s audio configuration, as set up by the broadcaster (usually in an encoder). This is part of the IngestConfiguration object and used for monitoring stream health.
Constructor and Description |
---|
AudioConfiguration() |
Modifier and Type | Method and Description |
---|---|
AudioConfiguration |
clone() |
boolean |
equals(Object obj) |
Long |
getChannels()
Number of audio channels.
|
String |
getCodec()
Codec used for the audio encoding.
|
Long |
getSampleRate()
Number of audio samples recorded per second.
|
Long |
getTargetBitrate()
The expected ingest bitrate (bits per second).
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setChannels(Long channels)
Number of audio channels.
|
void |
setCodec(String codec)
Codec used for the audio encoding.
|
void |
setSampleRate(Long sampleRate)
Number of audio samples recorded per second.
|
void |
setTargetBitrate(Long targetBitrate)
The expected ingest bitrate (bits per second).
|
String |
toString()
Returns a string representation of this object.
|
AudioConfiguration |
withChannels(Long channels)
Number of audio channels.
|
AudioConfiguration |
withCodec(String codec)
Codec used for the audio encoding.
|
AudioConfiguration |
withSampleRate(Long sampleRate)
Number of audio samples recorded per second.
|
AudioConfiguration |
withTargetBitrate(Long targetBitrate)
The expected ingest bitrate (bits per second).
|
public void setCodec(String codec)
Codec used for the audio encoding.
codec
- Codec used for the audio encoding.public String getCodec()
Codec used for the audio encoding.
public AudioConfiguration withCodec(String codec)
Codec used for the audio encoding.
codec
- Codec used for the audio encoding.public void setTargetBitrate(Long targetBitrate)
The expected ingest bitrate (bits per second). This is configured in the encoder.
targetBitrate
- The expected ingest bitrate (bits per second). This is configured in the encoder.public Long getTargetBitrate()
The expected ingest bitrate (bits per second). This is configured in the encoder.
public AudioConfiguration withTargetBitrate(Long targetBitrate)
The expected ingest bitrate (bits per second). This is configured in the encoder.
targetBitrate
- The expected ingest bitrate (bits per second). This is configured in the encoder.public void setSampleRate(Long sampleRate)
Number of audio samples recorded per second.
sampleRate
- Number of audio samples recorded per second.public Long getSampleRate()
Number of audio samples recorded per second.
public AudioConfiguration withSampleRate(Long sampleRate)
Number of audio samples recorded per second.
sampleRate
- Number of audio samples recorded per second.public void setChannels(Long channels)
Number of audio channels.
channels
- Number of audio channels.public Long getChannels()
Number of audio channels.
public AudioConfiguration withChannels(Long channels)
Number of audio channels.
channels
- Number of audio channels.public String toString()
toString
in class Object
Object.toString()
public AudioConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.