Class AllowedRenditionSize
java.lang.Object
software.amazon.awssdk.services.mediaconvert.model.AllowedRenditionSize
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<AllowedRenditionSize.Builder,
AllowedRenditionSize>
@Generated("software.amazon.awssdk:codegen")
public final class AllowedRenditionSize
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<AllowedRenditionSize.Builder,AllowedRenditionSize>
Use Allowed renditions to specify a list of possible resolutions in your ABR stack. * MediaConvert will create an ABR
stack exclusively from the list of resolutions that you specify. * Some resolutions in the Allowed renditions list
may not be included, however you can force a resolution to be included by setting Required to ENABLED. * You must
specify at least one resolution that is greater than or equal to any resolutions that you specify in Min top
rendition size or Min bottom rendition size. * If you specify Allowed renditions, you must not specify a separate
rule for Force include renditions.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AllowedRenditionSize.Builder
builder()
final boolean
final boolean
equalsBySdkFields
(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 int
hashCode()
final Integer
height()
Use Height to define the video resolution height, in pixels, for this rule.final RequiredFlag
required()
Set to ENABLED to force a rendition to be included.final String
Set to ENABLED to force a rendition to be included.static Class
<? extends AllowedRenditionSize.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final Integer
width()
Use Width to define the video resolution width, in pixels, for this rule.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
height
Use Height to define the video resolution height, in pixels, for this rule.- Returns:
- Use Height to define the video resolution height, in pixels, for this rule.
-
required
Set to ENABLED to force a rendition to be included.If the service returns an enum value that is not available in the current SDK version,
required
will returnRequiredFlag.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromrequiredAsString()
.- Returns:
- Set to ENABLED to force a rendition to be included.
- See Also:
-
requiredAsString
Set to ENABLED to force a rendition to be included.If the service returns an enum value that is not available in the current SDK version,
required
will returnRequiredFlag.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromrequiredAsString()
.- Returns:
- Set to ENABLED to force a rendition to be included.
- See Also:
-
width
Use Width to define the video resolution width, in pixels, for this rule.- Returns:
- Use Width to define the video resolution width, in pixels, for this rule.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<AllowedRenditionSize.Builder,
AllowedRenditionSize> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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
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. -
getValueForField
-
sdkFields
-