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