@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EncodingParametersRequest extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
EncodingParametersRequest() |
Modifier and Type | Method and Description |
---|---|
EncodingParametersRequest |
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.
|
EncodingParametersRequest |
withCompressionFactor(Double compressionFactor)
A value that is used to calculate compression for an output.
|
EncodingParametersRequest |
withEncoderProfile(EncoderProfile encoderProfile)
A setting on the encoder that drives compression settings.
|
EncodingParametersRequest |
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 EncodingParametersRequest 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, if at least one source on the flow
uses the CDI protocol.EncoderProfile
public String getEncoderProfile()
EncoderProfile
public EncodingParametersRequest 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, if at least one source on the flow
uses the CDI protocol.EncoderProfile
public EncodingParametersRequest 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, if at least one source on the flow
uses the CDI protocol.EncoderProfile
public String toString()
toString
in class Object
Object.toString()
public EncodingParametersRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.