@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Mp2Settings extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
Mp2Settings() |
Modifier and Type | Method and Description |
---|---|
Mp2Settings |
clone() |
boolean |
equals(Object obj) |
Double |
getBitrate()
Average bitrate in bits/second.
|
String |
getCodingMode()
The MPEG2 Audio coding mode.
|
Double |
getSampleRate()
Sample rate in Hz.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBitrate(Double bitrate)
Average bitrate in bits/second.
|
void |
setCodingMode(String codingMode)
The MPEG2 Audio coding mode.
|
void |
setSampleRate(Double sampleRate)
Sample rate in Hz.
|
String |
toString()
Returns a string representation of this object.
|
Mp2Settings |
withBitrate(Double bitrate)
Average bitrate in bits/second.
|
Mp2Settings |
withCodingMode(Mp2CodingMode codingMode)
The MPEG2 Audio coding mode.
|
Mp2Settings |
withCodingMode(String codingMode)
The MPEG2 Audio coding mode.
|
Mp2Settings |
withSampleRate(Double sampleRate)
Sample rate in Hz.
|
public void setBitrate(Double bitrate)
bitrate
- Average bitrate in bits/second.public Double getBitrate()
public Mp2Settings withBitrate(Double bitrate)
bitrate
- Average bitrate in bits/second.public void setCodingMode(String codingMode)
codingMode
- The MPEG2 Audio coding mode. Valid values are codingMode10 (for mono) or codingMode20 (for stereo).Mp2CodingMode
public String getCodingMode()
Mp2CodingMode
public Mp2Settings withCodingMode(String codingMode)
codingMode
- The MPEG2 Audio coding mode. Valid values are codingMode10 (for mono) or codingMode20 (for stereo).Mp2CodingMode
public Mp2Settings withCodingMode(Mp2CodingMode codingMode)
codingMode
- The MPEG2 Audio coding mode. Valid values are codingMode10 (for mono) or codingMode20 (for stereo).Mp2CodingMode
public void setSampleRate(Double sampleRate)
sampleRate
- Sample rate in Hz.public Double getSampleRate()
public Mp2Settings withSampleRate(Double sampleRate)
sampleRate
- Sample rate in Hz.public String toString()
toString
in class Object
Object.toString()
public Mp2Settings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.