|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.elastictranscoder.model.AudioParameters
public class AudioParameters
Constructor Summary | |
---|---|
AudioParameters()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getBitRate()
The bit rate of the audio stream in the output file, in kilobits/second. |
String |
getChannels()
The number of audio channels in the output file. |
String |
getCodec()
The audio codec for the output file. |
String |
getSampleRate()
The sample rate of the audio stream in the output file, in Hertz. |
int |
hashCode()
|
void |
setBitRate(String bitRate)
The bit rate of the audio stream in the output file, in kilobits/second. |
void |
setChannels(String channels)
The number of audio channels in the output file. |
void |
setCodec(String codec)
The audio codec for the output file. |
void |
setSampleRate(String sampleRate)
The sample rate of the audio stream in the output file, in Hertz. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
AudioParameters |
withBitRate(String bitRate)
The bit rate of the audio stream in the output file, in kilobits/second. |
AudioParameters |
withChannels(String channels)
The number of audio channels in the output file. |
AudioParameters |
withCodec(String codec)
The audio codec for the output file. |
AudioParameters |
withSampleRate(String sampleRate)
The sample rate of the audio stream in the output file, in Hertz. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AudioParameters()
Method Detail |
---|
public String getCodec()
AAC
.
Constraints:
Pattern: (^AAC$)|(^vorbis$)
AAC
.public void setCodec(String codec)
AAC
.
Constraints:
Pattern: (^AAC$)|(^vorbis$)
codec
- The audio codec for the output file. This value must be
AAC
.public AudioParameters withCodec(String codec)
AAC
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: (^AAC$)|(^vorbis$)
codec
- The audio codec for the output file. This value must be
AAC
.
public String getSampleRate()
auto
, 22050
,
32000
, 44100
, 48000
,
96000
If you specify auto
, Elastic
Transcoder automatically detects the sample rate.
Constraints:
Pattern: (^auto$)|(^22050$)|(^32000$)|(^44100$)|(^48000$)|(^96000$)
auto
, 22050
,
32000
, 44100
, 48000
,
96000
If you specify auto
, Elastic
Transcoder automatically detects the sample rate.
public void setSampleRate(String sampleRate)
auto
, 22050
,
32000
, 44100
, 48000
,
96000
If you specify auto
, Elastic
Transcoder automatically detects the sample rate.
Constraints:
Pattern: (^auto$)|(^22050$)|(^32000$)|(^44100$)|(^48000$)|(^96000$)
sampleRate
- The sample rate of the audio stream in the output file, in Hertz.
Valid values include: auto
, 22050
,
32000
, 44100
, 48000
,
96000
If you specify auto
, Elastic
Transcoder automatically detects the sample rate.
public AudioParameters withSampleRate(String sampleRate)
auto
, 22050
,
32000
, 44100
, 48000
,
96000
If you specify auto
, Elastic
Transcoder automatically detects the sample rate.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: (^auto$)|(^22050$)|(^32000$)|(^44100$)|(^48000$)|(^96000$)
sampleRate
- The sample rate of the audio stream in the output file, in Hertz.
Valid values include: auto
, 22050
,
32000
, 44100
, 48000
,
96000
If you specify auto
, Elastic
Transcoder automatically detects the sample rate.
public String getBitRate()
Constraints:
Pattern: ^\d{1,3}$
public void setBitRate(String bitRate)
Constraints:
Pattern: ^\d{1,3}$
bitRate
- The bit rate of the audio stream in the output file, in
kilobits/second. Enter an integer between 64 and 320, inclusive.public AudioParameters withBitRate(String bitRate)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: ^\d{1,3}$
bitRate
- The bit rate of the audio stream in the output file, in
kilobits/second. Enter an integer between 64 and 320, inclusive.
public String getChannels()
auto
, 0
, 1
, 2
If you specify auto
, Elastic Transcoder automatically
detects the number of channels in the input file.
Constraints:
Pattern: (^auto$)|(^0$)|(^1$)|(^2$)
auto
, 0
, 1
, 2
If you specify auto
, Elastic Transcoder automatically
detects the number of channels in the input file.
public void setChannels(String channels)
auto
, 0
, 1
, 2
If you specify auto
, Elastic Transcoder automatically
detects the number of channels in the input file.
Constraints:
Pattern: (^auto$)|(^0$)|(^1$)|(^2$)
channels
- The number of audio channels in the output file. Valid values include:
auto
, 0
, 1
, 2
If you specify auto
, Elastic Transcoder automatically
detects the number of channels in the input file.
public AudioParameters withChannels(String channels)
auto
, 0
, 1
, 2
If you specify auto
, Elastic Transcoder automatically
detects the number of channels in the input file.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: (^auto$)|(^0$)|(^1$)|(^2$)
channels
- The number of audio channels in the output file. Valid values include:
auto
, 0
, 1
, 2
If you specify auto
, Elastic Transcoder automatically
detects the number of channels in the input file.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |