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