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