Serializable
, Comparable<EventCode>
@Generated("software.amazon.awssdk:codegen") public enum EventCode extends Enum<EventCode>
Enum Constant | Description |
---|---|
InstanceReboot |
|
InstanceRetirement |
|
InstanceStop |
|
SystemMaintenance |
|
SystemReboot |
Modifier and Type | Method | Description |
---|---|---|
static EventCode |
fromValue(String value) |
Use this in place of valueOf.
|
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 InstanceReboot
public static final EventCode SystemReboot
public static final EventCode SystemMaintenance
public static final EventCode InstanceRetirement
public static final EventCode InstanceStop
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 nullCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.