Class DurationControl
java.lang.Object
software.amazon.awssdk.services.mediaconvert.model.DurationControl
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DurationControl.Builder,DurationControl>
@Generated("software.amazon.awssdk:codegen")
public final class DurationControl
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<DurationControl.Builder,DurationControl>
Settings for integer-second duration normalization. When this preprocessor is present, the output duration will be
adjusted to an exact integer-second boundary. If the input is within the trim threshold of an integer second,
trailing frames are dropped. If within the compression threshold and less than 500ms over the previous integer
second, the output is sped up slightly. Otherwise, black frames are padded to the next integer second.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic DurationControl.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final IntegerRequired.final IntegerRequired.final IntegerMaximum number of fractional milliseconds past an integer second that qualify for the trim path (frame dropping).static Class<? extends DurationControl.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
integerDurationMaximumCompressionDenominator
Required. Denominator of the maximum allowed compression ratio.- Returns:
- Required. Denominator of the maximum allowed compression ratio.
-
integerDurationMaximumCompressionNumerator
Required. Numerator of the maximum allowed compression ratio, defined as overrun divided by target duration. For example, numerator 5 with denominator 100 means max 5% compression. Set to 0 to disable compression entirely (only trim or pad will be used).- Returns:
- Required. Numerator of the maximum allowed compression ratio, defined as overrun divided by target duration. For example, numerator 5 with denominator 100 means max 5% compression. Set to 0 to disable compression entirely (only trim or pad will be used).
-
integerDurationTrimThresholdMilliseconds
Maximum number of fractional milliseconds past an integer second that qualify for the trim path (frame dropping). Default is 0 (trimming disabled).- Returns:
- Maximum number of fractional milliseconds past an integer second that qualify for the trim path (frame dropping). Default is 0 (trimming disabled).
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<DurationControl.Builder,DurationControl> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-