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