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