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