@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum CustomContentImageScalingConfiguration extends Enum<CustomContentImageScalingConfiguration>
| Enum Constant and Description |
|---|
DO_NOT_SCALE |
FIT_TO_HEIGHT |
FIT_TO_WIDTH |
SCALE_TO_VISUAL |
| Modifier and Type | Method and Description |
|---|---|
static CustomContentImageScalingConfiguration |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static CustomContentImageScalingConfiguration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CustomContentImageScalingConfiguration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CustomContentImageScalingConfiguration FIT_TO_HEIGHT
public static final CustomContentImageScalingConfiguration FIT_TO_WIDTH
public static final CustomContentImageScalingConfiguration DO_NOT_SCALE
public static final CustomContentImageScalingConfiguration SCALE_TO_VISUAL
public static CustomContentImageScalingConfiguration[] values()
for (CustomContentImageScalingConfiguration c : CustomContentImageScalingConfiguration.values()) System.out.println(c);
public static CustomContentImageScalingConfiguration valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<CustomContentImageScalingConfiguration>public static CustomContentImageScalingConfiguration fromValue(String value)
value - real valueIllegalArgumentException - If the specified value does not map to one of the known values in this enum.