![JAR search and dependency download from the Maven repository](/logo.png)
com.vmware.vim25.VirtualSCSISharing 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 VirtualSCSISharing.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="VirtualSCSISharing">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="noSharing"/>
* <enumeration value="virtualSharing"/>
* <enumeration value="physicalSharing"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "VirtualSCSISharing")
@XmlEnum
public enum VirtualSCSISharing {
@XmlEnumValue("noSharing")
NO_SHARING("noSharing"),
@XmlEnumValue("virtualSharing")
VIRTUAL_SHARING("virtualSharing"),
@XmlEnumValue("physicalSharing")
PHYSICAL_SHARING("physicalSharing");
private final String value;
VirtualSCSISharing(String v) {
value = v;
}
public String value() {
return value;
}
public static VirtualSCSISharing fromValue(String v) {
for (VirtualSCSISharing c: VirtualSCSISharing.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy