Class EncodingParameters
- java.lang.Object
-
- software.amazon.awssdk.services.mediaconnect.model.EncodingParameters
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EncodingParameters.Builder,EncodingParameters>
@Generated("software.amazon.awssdk:codegen") public final class EncodingParameters extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EncodingParameters.Builder,EncodingParameters>
A collection of parameters that determine how MediaConnect will convert the content. These fields only apply to outputs on flows that have a CDI source.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEncodingParameters.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EncodingParameters.Builderbuilder()DoublecompressionFactor()A value that is used to calculate compression for an output.EncoderProfileencoderProfile()A setting on the encoder that drives compression settings.StringencoderProfileAsString()A setting on the encoder that drives compression settings.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends EncodingParameters.Builder>serializableBuilderClass()EncodingParameters.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
compressionFactor
public final Double 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.- Returns:
- 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.
-
encoderProfile
public final 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.If the service returns an enum value that is not available in the current SDK version,
encoderProfilewill returnEncoderProfile.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromencoderProfileAsString().- Returns:
- 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.
- See Also:
EncoderProfile
-
encoderProfileAsString
public final String encoderProfileAsString()
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.If the service returns an enum value that is not available in the current SDK version,
encoderProfilewill returnEncoderProfile.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromencoderProfileAsString().- Returns:
- 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.
- See Also:
EncoderProfile
-
toBuilder
public EncodingParameters.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EncodingParameters.Builder,EncodingParameters>
-
builder
public static EncodingParameters.Builder builder()
-
serializableBuilderClass
public static Class<? extends EncodingParameters.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-