|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Instance.Status>
org.jclouds.openstack.trove.v1.domain.Instance.Status
public static enum Instance.Status
Lists possible Instance status.
| Enum Constant Summary | |
|---|---|
ACTIVE
The database instance is online and available to take requests. |
|
BLOCKED
The database instance is unresponsive at the moment. |
|
BUILD
The database instance is being provisioned. |
|
REBOOT
The database instance is rebooting. |
|
RESIZE
The database instance is being resized at the moment. |
|
SHUTDOWN
The database instance is terminating services. |
|
UNRECOGNIZED
Unrecognized status response. |
|
| Method Summary | |
|---|---|
static Instance.Status |
fromValue(String status)
|
String |
toString()
|
String |
value()
|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Instance.Status BUILD
public static final Instance.Status REBOOT
public static final Instance.Status ACTIVE
public static final Instance.Status BLOCKED
public static final Instance.Status RESIZE
public static final Instance.Status SHUTDOWN
public static final Instance.Status UNRECOGNIZED
| Method Detail |
|---|
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 name
NullPointerException - if the argument is nullpublic String value()
public String toString()
toString in class Enum<Instance.Status>public static Instance.Status fromValue(String status)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||