public static enum Instance.Status extends Enum<Instance.Status>
Enum Constant and Description |
---|
AVAILABLE
the instance is available
|
CREATING
the instance is in the process of being created
|
DELETING
the instance is deleting
|
FAILED |
INCOMPATIBLE_OPTION_GROUP |
INCOMPATIBLE_PARAMETERS |
INCOMPATIBLE_RESTORE |
STORAGE_FULL |
UNRECOGNIZED |
Modifier and Type | Method and 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.
|
public static final Instance.Status CREATING
public static final Instance.Status AVAILABLE
public static final Instance.Status STORAGE_FULL
public static final Instance.Status INCOMPATIBLE_OPTION_GROUP
public static final Instance.Status INCOMPATIBLE_PARAMETERS
public static final Instance.Status INCOMPATIBLE_RESTORE
public static final Instance.Status FAILED
public static final Instance.Status DELETING
public static final Instance.Status UNRECOGNIZED
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 nullpublic String value()
public String toString()
toString
in class Enum<Instance.Status>
public static Instance.Status fromValue(String status)
Copyright © 2009-2013 jclouds. All Rights Reserved.