public static enum Volume.Status extends Enum<Volume.Status>
Enum Constant and Description |
---|
ATTACHING |
AVAILABLE |
CREATING |
DELETING |
ERROR |
ERROR_DELETING |
IN_USE |
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
static Volume.Status |
fromValue(String status) |
String |
toString() |
String |
value() |
static Volume.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Volume.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Volume.Status CREATING
public static final Volume.Status AVAILABLE
public static final Volume.Status ATTACHING
public static final Volume.Status IN_USE
public static final Volume.Status DELETING
public static final Volume.Status ERROR
public static final Volume.Status ERROR_DELETING
public static final Volume.Status UNRECOGNIZED
public static Volume.Status[] values()
for (Volume.Status c : Volume.Status.values()) System.out.println(c);
public static Volume.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<Volume.Status>
public static Volume.Status fromValue(String status)
Copyright © 2009-2013 jclouds. All Rights Reserved.