@Generated(value="software.amazon.awssdk:codegen") public enum MonitorErrorCode extends Enum<MonitorErrorCode>
| Enum Constant and Description |
|---|
INTERNAL_FAILURE |
LIMIT_EXCEEDED |
UNKNOWN_TO_SDK_VERSION |
VALIDATION_ERROR |
| Modifier and Type | Method and Description |
|---|---|
static MonitorErrorCode |
fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.
|
static Set<MonitorErrorCode> |
knownValues()
|
String |
toString() |
static MonitorErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MonitorErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MonitorErrorCode INTERNAL_FAILURE
public static final MonitorErrorCode VALIDATION_ERROR
public static final MonitorErrorCode LIMIT_EXCEEDED
public static final MonitorErrorCode UNKNOWN_TO_SDK_VERSION
public static MonitorErrorCode[] values()
for (MonitorErrorCode c : MonitorErrorCode.values()) System.out.println(c);
public static MonitorErrorCode 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<MonitorErrorCode>public static MonitorErrorCode fromValue(String value)
value - real valuepublic static Set<MonitorErrorCode> 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 MonitorErrorCodesCopyright © 2023. All rights reserved.