@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EncodingParameters extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
EncodingParameters() |
Modifier and Type | Method and Description |
---|---|
EncodingParameters |
clone() |
boolean |
equals(Object obj) |
Double |
getCompressionFactor()
A value that is used to calculate compression for an output.
|
String |
getEncoderProfile()
A setting on the encoder that drives compression settings.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCompressionFactor(Double compressionFactor)
A value that is used to calculate compression for an output.
|
void |
setEncoderProfile(String encoderProfile)
A setting on the encoder that drives compression settings.
|
String |
toString()
Returns a string representation of this object.
|
EncodingParameters |
withCompressionFactor(Double compressionFactor)
A value that is used to calculate compression for an output.
|
EncodingParameters |
withEncoderProfile(EncoderProfile encoderProfile)
A setting on the encoder that drives compression settings.
|
EncodingParameters |
withEncoderProfile(String encoderProfile)
A setting on the encoder that drives compression settings.
|
public void setCompressionFactor(Double compressionFactor)
compressionFactor
- A value that is used to calculate compression for an output. The bitrate of the output is calculated as
follows: Output bitrate = (1 / compressionFactor) * (source bitrate) This property only applies to outputs
that use the ST 2110 JPEG XS protocol, with a flow source that uses the CDI protocol. Valid values are
floating point numbers in the range of 3.0 to 10.0, inclusive.public Double getCompressionFactor()
public EncodingParameters withCompressionFactor(Double compressionFactor)
compressionFactor
- A value that is used to calculate compression for an output. The bitrate of the output is calculated as
follows: Output bitrate = (1 / compressionFactor) * (source bitrate) This property only applies to outputs
that use the ST 2110 JPEG XS protocol, with a flow source that uses the CDI protocol. Valid values are
floating point numbers in the range of 3.0 to 10.0, inclusive.public void setEncoderProfile(String encoderProfile)
encoderProfile
- A setting on the encoder that drives compression settings. This property only applies to video media
streams associated with outputs that use the ST 2110 JPEG XS protocol, with a flow source that uses the
CDI protocol.EncoderProfile
public String getEncoderProfile()
EncoderProfile
public EncodingParameters withEncoderProfile(String encoderProfile)
encoderProfile
- A setting on the encoder that drives compression settings. This property only applies to video media
streams associated with outputs that use the ST 2110 JPEG XS protocol, with a flow source that uses the
CDI protocol.EncoderProfile
public EncodingParameters withEncoderProfile(EncoderProfile encoderProfile)
encoderProfile
- A setting on the encoder that drives compression settings. This property only applies to video media
streams associated with outputs that use the ST 2110 JPEG XS protocol, with a flow source that uses the
CDI protocol.EncoderProfile
public String toString()
toString
in class Object
Object.toString()
public EncodingParameters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.