public static enum Instance.Status extends Enum<Instance.Status>
Enum Constant and Description |
---|
PROVISIONING |
RUNNING |
STAGING |
STOPPED |
STOPPING |
TERMINATED |
Modifier and Type | Method and Description |
---|---|
static Instance.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Instance.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Instance.Status PROVISIONING
public static final Instance.Status STAGING
public static final Instance.Status RUNNING
public static final Instance.Status STOPPING
public static final Instance.Status STOPPED
public static final Instance.Status TERMINATED
public static Instance.Status[] values()
for (Instance.Status c : Instance.Status.values()) System.out.println(c);
public static Instance.Status 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 nullCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.