Enum Instance.Status
- java.lang.Object
-
- java.lang.Enum<Instance.Status>
-
- org.jclouds.openstack.trove.v1.domain.Instance.Status
-
- All Implemented Interfaces:
Serializable
,Comparable<Instance.Status>
- Enclosing class:
- Instance
public static enum Instance.Status extends Enum<Instance.Status>
Lists possible Instance status.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description 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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Enum Constant Detail
-
BUILD
public static final Instance.Status BUILD
The database instance is being provisioned.
-
REBOOT
public static final Instance.Status REBOOT
The database instance is rebooting.
-
ACTIVE
public static final Instance.Status ACTIVE
The database instance is online and available to take requests.
-
BLOCKED
public static final Instance.Status BLOCKED
The database instance is unresponsive at the moment.
-
RESIZE
public static final Instance.Status RESIZE
The database instance is being resized at the moment.
-
SHUTDOWN
public static final Instance.Status SHUTDOWN
The database instance is terminating services. Also, SHUTDOWN is returned if for any reason the instance is shut down but not the actual server.
-
UNRECOGNIZED
public static final Instance.Status UNRECOGNIZED
Unrecognized status response.
-
-
Method Detail
-
values
public static Instance.Status[] 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 (Instance.Status c : Instance.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Instance.Status 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
-
value
public String value()
-
toString
public String toString()
- Overrides:
toString
in classEnum<Instance.Status>
-
fromValue
public static Instance.Status fromValue(String status)
-
-