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