public enum VolumeState extends Enum<VolumeState>
Enum Constant and Description |
---|
CREATED |
NEW |
NODE_READY |
UNAVAILABLE |
VALIDATED |
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 NEW
public static final VolumeState VALIDATED
public static final VolumeState CREATED
public static final VolumeState NODE_READY
public static final VolumeState UNAVAILABLE
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–2020 Apache Software Foundation. All rights reserved.