public enum FleetStatus extends java.lang.Enum<FleetStatus>
Enum Constant and Description |
---|
ACTIVATING |
ACTIVE |
BUILDING |
DELETING |
DOWNLOADING |
ERROR |
NEW |
TERMINATED |
VALIDATING |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
value |
Modifier and Type | Method and Description |
---|---|
static FleetStatus |
fromValue(java.lang.String value)
Use this in place of valueOf.
|
java.lang.String |
toString() |
static FleetStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FleetStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FleetStatus NEW
public static final FleetStatus DOWNLOADING
public static final FleetStatus VALIDATING
public static final FleetStatus BUILDING
public static final FleetStatus ACTIVATING
public static final FleetStatus ACTIVE
public static final FleetStatus DELETING
public static final FleetStatus ERROR
public static final FleetStatus TERMINATED
public static FleetStatus[] values()
for (FleetStatus c : FleetStatus.values()) System.out.println(c);
public static FleetStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<FleetStatus>
public static FleetStatus fromValue(java.lang.String value)
value
- real value