com.vmware.vim25.VirtualMachineConfigSpecNpivWwnOp 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 VirtualMachineConfigSpecNpivWwnOp.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="VirtualMachineConfigSpecNpivWwnOp">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="generate"/>
* <enumeration value="set"/>
* <enumeration value="remove"/>
* <enumeration value="extend"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "VirtualMachineConfigSpecNpivWwnOp")
@XmlEnum
public enum VirtualMachineConfigSpecNpivWwnOp {
@XmlEnumValue("generate")
GENERATE("generate"),
@XmlEnumValue("set")
SET("set"),
@XmlEnumValue("remove")
REMOVE("remove"),
@XmlEnumValue("extend")
EXTEND("extend");
private final String value;
VirtualMachineConfigSpecNpivWwnOp(String v) {
value = v;
}
public String value() {
return value;
}
public static VirtualMachineConfigSpecNpivWwnOp fromValue(String v) {
for (VirtualMachineConfigSpecNpivWwnOp c: VirtualMachineConfigSpecNpivWwnOp.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy