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