com.vmware.vim25.VirtualMachineFlagInfoVirtualExecUsage Maven / Gradle / Ivy
package com.vmware.vim25;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for VirtualMachineFlagInfoVirtualExecUsage.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="VirtualMachineFlagInfoVirtualExecUsage">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="hvAuto"/>
* <enumeration value="hvOn"/>
* <enumeration value="hvOff"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "VirtualMachineFlagInfoVirtualExecUsage")
@XmlEnum
public enum VirtualMachineFlagInfoVirtualExecUsage {
@XmlEnumValue("hvAuto")
HV_AUTO("hvAuto"),
@XmlEnumValue("hvOn")
HV_ON("hvOn"),
@XmlEnumValue("hvOff")
HV_OFF("hvOff");
private final String value;
VirtualMachineFlagInfoVirtualExecUsage(String v) {
value = v;
}
public String value() {
return value;
}
public static VirtualMachineFlagInfoVirtualExecUsage fromValue(String v) {
for (VirtualMachineFlagInfoVirtualExecUsage c: VirtualMachineFlagInfoVirtualExecUsage.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy