@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VorbisSettings extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
VorbisSettings() |
Modifier and Type | Method and Description |
---|---|
VorbisSettings |
clone() |
boolean |
equals(Object obj) |
Integer |
getChannels()
Optional.
|
Integer |
getSampleRate()
Optional.
|
Integer |
getVbrQuality()
Optional.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setChannels(Integer channels)
Optional.
|
void |
setSampleRate(Integer sampleRate)
Optional.
|
void |
setVbrQuality(Integer vbrQuality)
Optional.
|
String |
toString()
Returns a string representation of this object.
|
VorbisSettings |
withChannels(Integer channels)
Optional.
|
VorbisSettings |
withSampleRate(Integer sampleRate)
Optional.
|
VorbisSettings |
withVbrQuality(Integer vbrQuality)
Optional.
|
public void setChannels(Integer channels)
channels
- Optional. Specify the number of channels in this output audio track. Choosing Mono on the console gives
you 1 output channel; choosing Stereo gives you 2. In the API, valid values are 1 and 2. The default value
is 2.public Integer getChannels()
public VorbisSettings withChannels(Integer channels)
channels
- Optional. Specify the number of channels in this output audio track. Choosing Mono on the console gives
you 1 output channel; choosing Stereo gives you 2. In the API, valid values are 1 and 2. The default value
is 2.public void setSampleRate(Integer sampleRate)
sampleRate
- Optional. Specify the audio sample rate in Hz. Valid values are 22050, 32000, 44100, and 48000. The
default value is 48000.public Integer getSampleRate()
public VorbisSettings withSampleRate(Integer sampleRate)
sampleRate
- Optional. Specify the audio sample rate in Hz. Valid values are 22050, 32000, 44100, and 48000. The
default value is 48000.public void setVbrQuality(Integer vbrQuality)
vbrQuality
- Optional. Specify the variable audio quality of this Vorbis output from -1 (lowest quality, ~45 kbit/s) to
10 (highest quality, ~500 kbit/s). The default value is 4 (~128 kbit/s). Values 5 and 6 are approximately
160 and 192 kbit/s, respectively.public Integer getVbrQuality()
public VorbisSettings withVbrQuality(Integer vbrQuality)
vbrQuality
- Optional. Specify the variable audio quality of this Vorbis output from -1 (lowest quality, ~45 kbit/s) to
10 (highest quality, ~500 kbit/s). The default value is 4 (~128 kbit/s). Values 5 and 6 are approximately
160 and 192 kbit/s, respectively.public String toString()
toString
in class Object
Object.toString()
public VorbisSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.