@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum FleetStatusCode extends Enum<FleetStatusCode>
Enum Constant and Description |
---|
ACTIVE |
CREATE_FAILED |
CREATING |
DELETING |
PENDING_DELETION |
ROTATING |
UPDATE_ROLLBACK_FAILED |
UPDATING |
Modifier and Type | Method and Description |
---|---|
static FleetStatusCode |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static FleetStatusCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FleetStatusCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FleetStatusCode CREATING
public static final FleetStatusCode UPDATING
public static final FleetStatusCode ROTATING
public static final FleetStatusCode PENDING_DELETION
public static final FleetStatusCode DELETING
public static final FleetStatusCode CREATE_FAILED
public static final FleetStatusCode UPDATE_ROLLBACK_FAILED
public static final FleetStatusCode ACTIVE
public static FleetStatusCode[] values()
for (FleetStatusCode c : FleetStatusCode.values()) System.out.println(c);
public static FleetStatusCode 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<FleetStatusCode>
public static FleetStatusCode fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.