@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) |
Integer |
getBitrate()
Specify the average bitrate in bits per second.
|
Integer |
getChannels()
Set Channels to specify the number of channels in this output audio track.
|
Integer |
getSampleRate()
Sample rate in Hz.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBitrate(Integer bitrate)
Specify the average bitrate in bits per second.
|
void |
setChannels(Integer channels)
Set Channels to specify the number of channels in this output audio track.
|
void |
setSampleRate(Integer sampleRate)
Sample rate in Hz.
|
String |
toString()
Returns a string representation of this object.
|
Mp2Settings |
withBitrate(Integer bitrate)
Specify the average bitrate in bits per second.
|
Mp2Settings |
withChannels(Integer channels)
Set Channels to specify the number of channels in this output audio track.
|
Mp2Settings |
withSampleRate(Integer sampleRate)
Sample rate in Hz.
|
public void setBitrate(Integer bitrate)
bitrate
- Specify the average bitrate in bits per second.public Integer getBitrate()
public Mp2Settings withBitrate(Integer bitrate)
bitrate
- Specify the average bitrate in bits per second.public void setChannels(Integer channels)
channels
- Set Channels to specify the number of channels in this output audio track. Choosing Mono in will give you
1 output channel; choosing Stereo will give you 2. In the API, valid values are 1 and 2.public Integer getChannels()
public Mp2Settings withChannels(Integer channels)
channels
- Set Channels to specify the number of channels in this output audio track. Choosing Mono in will give you
1 output channel; choosing Stereo will give you 2. In the API, valid values are 1 and 2.public void setSampleRate(Integer sampleRate)
sampleRate
- Sample rate in Hz.public Integer getSampleRate()
public Mp2Settings withSampleRate(Integer 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.