@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OpusSettings extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
OpusSettings() |
Modifier and Type | Method and Description |
---|---|
OpusSettings |
clone() |
boolean |
equals(Object obj) |
Integer |
getBitrate()
Optional.
|
Integer |
getChannels()
Specify the number of channels in this output audio track.
|
Integer |
getSampleRate()
Optional.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBitrate(Integer bitrate)
Optional.
|
void |
setChannels(Integer channels)
Specify the number of channels in this output audio track.
|
void |
setSampleRate(Integer sampleRate)
Optional.
|
String |
toString()
Returns a string representation of this object.
|
OpusSettings |
withBitrate(Integer bitrate)
Optional.
|
OpusSettings |
withChannels(Integer channels)
Specify the number of channels in this output audio track.
|
OpusSettings |
withSampleRate(Integer sampleRate)
Optional.
|
public void setBitrate(Integer bitrate)
bitrate
- Optional. Specify the average bitrate in bits per second. Valid values are multiples of 8000, from 32000
through 192000. The default value is 96000, which we recommend for quality and bandwidth.public Integer getBitrate()
public OpusSettings withBitrate(Integer bitrate)
bitrate
- Optional. Specify the average bitrate in bits per second. Valid values are multiples of 8000, from 32000
through 192000. The default value is 96000, which we recommend for quality and bandwidth.public void setChannels(Integer channels)
channels
- Specify the number of channels in this output audio track. Choosing Mono on gives you 1 output channel;
choosing Stereo gives you 2. In the API, valid values are 1 and 2.public Integer getChannels()
public OpusSettings withChannels(Integer channels)
channels
- Specify the number of channels in this output audio track. Choosing Mono on gives you 1 output channel;
choosing Stereo gives you 2. In the API, valid values are 1 and 2.public void setSampleRate(Integer sampleRate)
sampleRate
- Optional. Sample rate in Hz. Valid values are 16000, 24000, and 48000. The default value is 48000.public Integer getSampleRate()
public OpusSettings withSampleRate(Integer sampleRate)
sampleRate
- Optional. Sample rate in Hz. Valid values are 16000, 24000, and 48000. The default value is 48000.public String toString()
toString
in class Object
Object.toString()
public OpusSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.