@Generated(value="software.amazon.awssdk:codegen") 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 |
UNKNOWN_TO_SDK_VERSION |
VALIDATION_EXCEPTION |
| Modifier and Type | Method and Description |
|---|---|
static DataSourceErrorType |
fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.
|
static Set<DataSourceErrorType> |
knownValues()
|
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 final DataSourceErrorType UNKNOWN_TO_SDK_VERSION
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 valuepublic static Set<DataSourceErrorType> knownValues()
values() to return a Set of all values known to the SDK. This will return
all known enum values except UNKNOWN_TO_SDK_VERSION.Set of known DataSourceErrorTypesCopyright © 2023. All rights reserved.