org.jclouds.openstack.trove.v1.domain
Enum Instance.Status

java.lang.Object
  extended by java.lang.Enum<Instance.Status>
      extended by 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
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

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 name
NullPointerException - if the argument is null

value

public String value()

toString

public String toString()
Overrides:
toString in class Enum<Instance.Status>

fromValue

public static Instance.Status fromValue(String status)


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.