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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAllowedRenditionSize.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AllowedRenditionSize.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Integerheight()Use Height to define the video resolution height, in pixels, for this rule.RequiredFlagrequired()Set to ENABLED to force a rendition to be included.StringrequiredAsString()Set to ENABLED to force a rendition to be included.List<SdkField<?>>sdkFields()static Class<? extends AllowedRenditionSize.Builder>serializableBuilderClass()AllowedRenditionSize.BuildertoBuilder()StringtoString()Returns a string representation of this object.Integerwidth()Use Width to define the video resolution width, in pixels, for this rule.-
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
-
height
public final Integer 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
public final RequiredFlag 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,
requiredwill 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:
RequiredFlag
-
requiredAsString
public final String 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,
requiredwill 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:
RequiredFlag
-
width
public final Integer 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
public AllowedRenditionSize.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AllowedRenditionSize.Builder,AllowedRenditionSize>
-
builder
public static AllowedRenditionSize.Builder builder()
-
serializableBuilderClass
public static Class<? extends AllowedRenditionSize.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.
-
-