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