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