public static enum Volume.Status extends Enum<Volume.Status>
Enum Constant and Description |
---|
ATTACHING |
AVAILABLE |
BACKING_UP |
CREATING |
DELETING |
DETACHING |
DOWNLOADING |
ERROR |
ERROR_DELETING |
ERROR_RESTORING |
IN_USE |
RESTORING_BACKUP |
UNRECOGNIZED |
UPLOADING |
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 AVAILABLE
public static final Volume.Status ATTACHING
public static final Volume.Status BACKING_UP
public static final Volume.Status CREATING
public static final Volume.Status DELETING
public static final Volume.Status DOWNLOADING
public static final Volume.Status UPLOADING
public static final Volume.Status ERROR
public static final Volume.Status ERROR_DELETING
public static final Volume.Status ERROR_RESTORING
public static final Volume.Status IN_USE
public static final Volume.Status RESTORING_BACKUP
public static final Volume.Status DETACHING
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 © 2017. All rights reserved.