public enum BDMDestType extends Enum<BDMDestType>
http://docs.openstack.org/developer/nova/block_device_mapping.html
Enum Constant and Description |
---|
LOCAL
Will either mean an ephemeral blank disk on hypervisor local storage, or a swap disk
|
VOLUME
Creates a blank Cinder volume and attaches it.
|
Modifier and Type | Method and Description |
---|---|
String |
value() |
static BDMDestType |
value(String v) |
static BDMDestType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BDMDestType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BDMDestType LOCAL
public static final BDMDestType VOLUME
public static BDMDestType[] values()
for (BDMDestType c : BDMDestType.values()) System.out.println(c);
public static BDMDestType 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 static BDMDestType value(String v)
public String value()
Copyright © 2017. All rights reserved.