@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WavSettings extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
WavSettings() |
Modifier and Type | Method and Description |
---|---|
WavSettings |
clone() |
boolean |
equals(Object obj) |
Integer |
getBitDepth()
Specify Bit depth, in bits per sample, to choose the encoding quality for this audio track.
|
Integer |
getChannels()
Specify the number of channels in this output audio track.
|
String |
getFormat()
The service defaults to using RIFF for WAV outputs.
|
Integer |
getSampleRate()
Sample rate in Hz.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBitDepth(Integer bitDepth)
Specify Bit depth, in bits per sample, to choose the encoding quality for this audio track.
|
void |
setChannels(Integer channels)
Specify the number of channels in this output audio track.
|
void |
setFormat(String format)
The service defaults to using RIFF for WAV outputs.
|
void |
setSampleRate(Integer sampleRate)
Sample rate in Hz.
|
String |
toString()
Returns a string representation of this object.
|
WavSettings |
withBitDepth(Integer bitDepth)
Specify Bit depth, in bits per sample, to choose the encoding quality for this audio track.
|
WavSettings |
withChannels(Integer channels)
Specify the number of channels in this output audio track.
|
WavSettings |
withFormat(String format)
The service defaults to using RIFF for WAV outputs.
|
WavSettings |
withFormat(WavFormat format)
The service defaults to using RIFF for WAV outputs.
|
WavSettings |
withSampleRate(Integer sampleRate)
Sample rate in Hz.
|
public void setBitDepth(Integer bitDepth)
bitDepth
- Specify Bit depth, in bits per sample, to choose the encoding quality for this audio track.public Integer getBitDepth()
public WavSettings withBitDepth(Integer bitDepth)
bitDepth
- Specify Bit depth, in bits per sample, to choose the encoding quality for this audio track.public void setChannels(Integer channels)
channels
- Specify the number of channels in this output audio track. Valid values are 1 and even numbers up to 64.
For example, 1, 2, 4, 6, and so on, up to 64.public Integer getChannels()
public WavSettings withChannels(Integer channels)
channels
- Specify the number of channels in this output audio track. Valid values are 1 and even numbers up to 64.
For example, 1, 2, 4, 6, and so on, up to 64.public void setFormat(String format)
format
- The service defaults to using RIFF for WAV outputs. If your output audio is likely to exceed 4 GB in file
size, or if you otherwise need the extended support of the RF64 format, set your output WAV file format to
RF64.WavFormat
public String getFormat()
WavFormat
public WavSettings withFormat(String format)
format
- The service defaults to using RIFF for WAV outputs. If your output audio is likely to exceed 4 GB in file
size, or if you otherwise need the extended support of the RF64 format, set your output WAV file format to
RF64.WavFormat
public WavSettings withFormat(WavFormat format)
format
- The service defaults to using RIFF for WAV outputs. If your output audio is likely to exceed 4 GB in file
size, or if you otherwise need the extended support of the RF64 format, set your output WAV file format to
RF64.WavFormat
public void setSampleRate(Integer sampleRate)
sampleRate
- Sample rate in Hz.public Integer getSampleRate()
public WavSettings withSampleRate(Integer sampleRate)
sampleRate
- Sample rate in Hz.public String toString()
toString
in class Object
Object.toString()
public WavSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.