com.vmware.vim25.DiagnosticManagerLogCreator 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 DiagnosticManagerLogCreator.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="DiagnosticManagerLogCreator">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="vpxd"/>
* <enumeration value="vpxa"/>
* <enumeration value="hostd"/>
* <enumeration value="serverd"/>
* <enumeration value="install"/>
* <enumeration value="vpxClient"/>
* <enumeration value="recordLog"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "DiagnosticManagerLogCreator")
@XmlEnum
public enum DiagnosticManagerLogCreator {
@XmlEnumValue("vpxd")
VPXD("vpxd"),
@XmlEnumValue("vpxa")
VPXA("vpxa"),
@XmlEnumValue("hostd")
HOSTD("hostd"),
@XmlEnumValue("serverd")
SERVERD("serverd"),
@XmlEnumValue("install")
INSTALL("install"),
@XmlEnumValue("vpxClient")
VPX_CLIENT("vpxClient"),
@XmlEnumValue("recordLog")
RECORD_LOG("recordLog");
private final String value;
DiagnosticManagerLogCreator(String v) {
value = v;
}
public String value() {
return value;
}
public static DiagnosticManagerLogCreator fromValue(String v) {
for (DiagnosticManagerLogCreator c: DiagnosticManagerLogCreator.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}