public enum VolumeState extends Enum<VolumeState>
IMPORTANT: Do not change the order of the elements of the enum. If more values need to be added they must be added at the end.
| Enum Constant and Description |
|---|
ATTACHED
The volume is attached to a virtual machine.
|
DETACHED
The volume is not attached to a virtual machine.
|
| Modifier and Type | Method and Description |
|---|---|
static VolumeState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VolumeState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VolumeState DETACHED
public static final VolumeState ATTACHED
public static VolumeState[] values()
for (VolumeState c : VolumeState.values()) System.out.println(c);
public static VolumeState 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 nullCopyright © 2008-2014 Abiquo Holdings S.L.. All Rights Reserved.