public enum VirtualDiskCompatibilityMode extends Enum<VirtualDiskCompatibilityMode>
Java class for VirtualDiskCompatibilityMode.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="VirtualDiskCompatibilityMode">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="virtualMode"/>
<enumeration value="physicalMode"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
PHYSICAL_MODE |
VIRTUAL_MODE |
| Modifier and Type | Method and Description |
|---|---|
static VirtualDiskCompatibilityMode |
fromValue(String v) |
String |
value() |
static VirtualDiskCompatibilityMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VirtualDiskCompatibilityMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VirtualDiskCompatibilityMode VIRTUAL_MODE
public static final VirtualDiskCompatibilityMode PHYSICAL_MODE
public static VirtualDiskCompatibilityMode[] values()
for (VirtualDiskCompatibilityMode c : VirtualDiskCompatibilityMode.values()) System.out.println(c);
public static VirtualDiskCompatibilityMode 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 static VirtualDiskCompatibilityMode fromValue(String v)
Copyright © 2018. All rights reserved.