@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Mp3Settings extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
Mp3Settings() |
Modifier and Type | Method and Description |
---|---|
Mp3Settings |
clone() |
boolean |
equals(Object obj) |
Integer |
getBitrate()
Specify the average bitrate in bits per second.
|
Integer |
getChannels()
Specify the number of channels in this output audio track.
|
String |
getRateControlMode()
Specify whether the service encodes this MP3 audio output with a constant bitrate (CBR) or a variable bitrate
(VBR).
|
Integer |
getSampleRate()
Sample rate in Hz.
|
Integer |
getVbrQuality()
Required when you set Bitrate control mode to VBR.
|
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)
Specify the number of channels in this output audio track.
|
void |
setRateControlMode(String rateControlMode)
Specify whether the service encodes this MP3 audio output with a constant bitrate (CBR) or a variable bitrate
(VBR).
|
void |
setSampleRate(Integer sampleRate)
Sample rate in Hz.
|
void |
setVbrQuality(Integer vbrQuality)
Required when you set Bitrate control mode to VBR.
|
String |
toString()
Returns a string representation of this object.
|
Mp3Settings |
withBitrate(Integer bitrate)
Specify the average bitrate in bits per second.
|
Mp3Settings |
withChannels(Integer channels)
Specify the number of channels in this output audio track.
|
Mp3Settings |
withRateControlMode(Mp3RateControlMode rateControlMode)
Specify whether the service encodes this MP3 audio output with a constant bitrate (CBR) or a variable bitrate
(VBR).
|
Mp3Settings |
withRateControlMode(String rateControlMode)
Specify whether the service encodes this MP3 audio output with a constant bitrate (CBR) or a variable bitrate
(VBR).
|
Mp3Settings |
withSampleRate(Integer sampleRate)
Sample rate in Hz.
|
Mp3Settings |
withVbrQuality(Integer vbrQuality)
Required when you set Bitrate control mode to VBR.
|
public void setBitrate(Integer bitrate)
bitrate
- Specify the average bitrate in bits per second.public Integer getBitrate()
public Mp3Settings withBitrate(Integer bitrate)
bitrate
- Specify the average bitrate in bits per second.public void setChannels(Integer channels)
channels
- Specify the number of channels in this output audio track. Choosing Mono gives you 1 output channel;
choosing Stereo gives you 2. In the API, valid values are 1 and 2.public Integer getChannels()
public Mp3Settings withChannels(Integer channels)
channels
- Specify the number of channels in this output audio track. Choosing Mono gives you 1 output channel;
choosing Stereo gives you 2. In the API, valid values are 1 and 2.public void setRateControlMode(String rateControlMode)
rateControlMode
- Specify whether the service encodes this MP3 audio output with a constant bitrate (CBR) or a variable
bitrate (VBR).Mp3RateControlMode
public String getRateControlMode()
Mp3RateControlMode
public Mp3Settings withRateControlMode(String rateControlMode)
rateControlMode
- Specify whether the service encodes this MP3 audio output with a constant bitrate (CBR) or a variable
bitrate (VBR).Mp3RateControlMode
public Mp3Settings withRateControlMode(Mp3RateControlMode rateControlMode)
rateControlMode
- Specify whether the service encodes this MP3 audio output with a constant bitrate (CBR) or a variable
bitrate (VBR).Mp3RateControlMode
public void setSampleRate(Integer sampleRate)
sampleRate
- Sample rate in Hz.public Integer getSampleRate()
public Mp3Settings withSampleRate(Integer sampleRate)
sampleRate
- Sample rate in Hz.public void setVbrQuality(Integer vbrQuality)
vbrQuality
- Required when you set Bitrate control mode to VBR. Specify the audio quality of this MP3 output from 0
(highest quality) to 9 (lowest quality).public Integer getVbrQuality()
public Mp3Settings withVbrQuality(Integer vbrQuality)
vbrQuality
- Required when you set Bitrate control mode to VBR. Specify the audio quality of this MP3 output from 0
(highest quality) to 9 (lowest quality).public String toString()
toString
in class Object
Object.toString()
public Mp3Settings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.