com.vmware.vim25.ClusterVmReadinessReadyCondition 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 ClusterVmReadinessReadyCondition.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="ClusterVmReadinessReadyCondition">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="none"/>
* <enumeration value="poweredOn"/>
* <enumeration value="guestHbStatusGreen"/>
* <enumeration value="appHbStatusGreen"/>
* <enumeration value="useClusterDefault"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "ClusterVmReadinessReadyCondition")
@XmlEnum
public enum ClusterVmReadinessReadyCondition {
@XmlEnumValue("none")
NONE("none"),
@XmlEnumValue("poweredOn")
POWERED_ON("poweredOn"),
@XmlEnumValue("guestHbStatusGreen")
GUEST_HB_STATUS_GREEN("guestHbStatusGreen"),
@XmlEnumValue("appHbStatusGreen")
APP_HB_STATUS_GREEN("appHbStatusGreen"),
@XmlEnumValue("useClusterDefault")
USE_CLUSTER_DEFAULT("useClusterDefault");
private final String value;
ClusterVmReadinessReadyCondition(String v) {
value = v;
}
public String value() {
return value;
}
public static ClusterVmReadinessReadyCondition fromValue(String v) {
for (ClusterVmReadinessReadyCondition c: ClusterVmReadinessReadyCondition.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}