Enum FleetStatus
- java.lang.Object
-
- java.lang.Enum<FleetStatus>
-
- com.amazonaws.services.gamelift.model.FleetStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<FleetStatus>
public enum FleetStatus extends Enum<FleetStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVATING
ACTIVE
BUILDING
DELETING
DOWNLOADING
ERROR
NEW
TERMINATED
VALIDATING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FleetStatus
fromValue(String value)
Use this in place of valueOf.String
toString()
static FleetStatus
valueOf(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.
-
-
-
Enum Constant Detail
-
NEW
public static final FleetStatus NEW
-
DOWNLOADING
public static final FleetStatus DOWNLOADING
-
VALIDATING
public static final FleetStatus VALIDATING
-
BUILDING
public static final FleetStatus BUILDING
-
ACTIVATING
public static final FleetStatus ACTIVATING
-
ACTIVE
public static final FleetStatus ACTIVE
-
DELETING
public static final FleetStatus DELETING
-
ERROR
public static final FleetStatus ERROR
-
TERMINATED
public static final FleetStatus TERMINATED
-
-
Method Detail
-
values
public static FleetStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FleetStatus c : FleetStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FleetStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<FleetStatus>
-
fromValue
public static FleetStatus fromValue(String value)
Use this in place of valueOf.- Parameters:
value
- real value- Returns:
- FleetStatus corresponding to the value
-
-