@Generated(value="software.amazon.awssdk:codegen") public final class AutomatedAbrRule extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AutomatedAbrRule.Builder,AutomatedAbrRule>
| Modifier and Type | Class and Description |
|---|---|
static interface |
AutomatedAbrRule.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<AllowedRenditionSize> |
allowedRenditions()
When customer adds the allowed renditions rule for auto ABR ladder, they are required to add at leat one
rendition to allowedRenditions list
|
static AutomatedAbrRule.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<ForceIncludeRenditionSize> |
forceIncludeRenditions()
When customer adds the force include renditions rule for auto ABR ladder, they are required to add at leat one
rendition to forceIncludeRenditions list
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAllowedRenditions()
For responses, this returns true if the service returned a value for the AllowedRenditions property.
|
boolean |
hasForceIncludeRenditions()
For responses, this returns true if the service returned a value for the ForceIncludeRenditions property.
|
int |
hashCode() |
MinBottomRenditionSize |
minBottomRenditionSize()
Use Min bottom rendition size to specify a minimum size for the lowest resolution in your ABR stack.
|
MinTopRenditionSize |
minTopRenditionSize()
Use Min top rendition size to specify a minimum size for the highest resolution in your ABR stack.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AutomatedAbrRule.Builder> |
serializableBuilderClass() |
AutomatedAbrRule.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
RuleType |
type()
Use Min top rendition size to specify a minimum size for the highest resolution in your ABR stack.
|
String |
typeAsString()
Use Min top rendition size to specify a minimum size for the highest resolution in your ABR stack.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasAllowedRenditions()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<AllowedRenditionSize> allowedRenditions()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAllowedRenditions() method.
public final boolean hasForceIncludeRenditions()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<ForceIncludeRenditionSize> forceIncludeRenditions()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasForceIncludeRenditions() method.
public final MinBottomRenditionSize minBottomRenditionSize()
public final MinTopRenditionSize minTopRenditionSize()
public final RuleType type()
If the service returns an enum value that is not available in the current SDK version, type will return
RuleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
RuleTypepublic final String typeAsString()
If the service returns an enum value that is not available in the current SDK version, type will return
RuleType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
RuleTypepublic AutomatedAbrRule.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AutomatedAbrRule.Builder,AutomatedAbrRule>public static AutomatedAbrRule.Builder builder()
public static Class<? extends AutomatedAbrRule.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.