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