@Generated(value="software.amazon.awssdk:codegen") public enum FleetStateCode extends Enum<FleetStateCode>
Enum Constant and Description |
---|
ACTIVE |
DELETED |
DELETED_RUNNING |
DELETED_TERMINATING |
FAILED |
MODIFYING |
SUBMITTED |
UNKNOWN_TO_SDK_VERSION |
Modifier and Type | Method and Description |
---|---|
static FleetStateCode |
fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.
|
static Set<FleetStateCode> |
knownValues()
|
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 final FleetStateCode UNKNOWN_TO_SDK_VERSION
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 valuepublic static Set<FleetStateCode> knownValues()
values()
to return a Set
of all values known to the SDK. This will return
all known enum values except UNKNOWN_TO_SDK_VERSION
.Set
of known FleetStateCode
sCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.