com.vmware.vim25.HostReplayUnsupportedReason 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 HostReplayUnsupportedReason.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="HostReplayUnsupportedReason">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="incompatibleProduct"/>
* <enumeration value="incompatibleCpu"/>
* <enumeration value="hvDisabled"/>
* <enumeration value="cpuidLimitSet"/>
* <enumeration value="oldBIOS"/>
* <enumeration value="unknown"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "HostReplayUnsupportedReason")
@XmlEnum
public enum HostReplayUnsupportedReason {
@XmlEnumValue("incompatibleProduct")
INCOMPATIBLE_PRODUCT("incompatibleProduct"),
@XmlEnumValue("incompatibleCpu")
INCOMPATIBLE_CPU("incompatibleCpu"),
@XmlEnumValue("hvDisabled")
HV_DISABLED("hvDisabled"),
@XmlEnumValue("cpuidLimitSet")
CPUID_LIMIT_SET("cpuidLimitSet"),
@XmlEnumValue("oldBIOS")
OLD_BIOS("oldBIOS"),
@XmlEnumValue("unknown")
UNKNOWN("unknown");
private final String value;
HostReplayUnsupportedReason(String v) {
value = v;
}
public String value() {
return value;
}
public static HostReplayUnsupportedReason fromValue(String v) {
for (HostReplayUnsupportedReason c: HostReplayUnsupportedReason.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}