@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum ImageError extends Enum<ImageError>
Enum Constant and Description |
---|
MEDIA_ERROR |
NO_MEDIA |
Modifier and Type | Method and Description |
---|---|
static ImageError |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static ImageError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageError NO_MEDIA
public static final ImageError MEDIA_ERROR
public static ImageError[] values()
for (ImageError c : ImageError.values()) System.out.println(c);
public static ImageError 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<ImageError>
public static ImageError fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.Copyright © 2023. All rights reserved.