
com.vmware.vim.ScsiLunState Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vi-api Show documentation
Show all versions of vi-api Show documentation
This is a Java binding of the VMware Virtual Infrastructure SDK WSDL.
The newest version!
package com.vmware.vim;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for ScsiLunState.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="ScsiLunState">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="unknownState"/>
* <enumeration value="ok"/>
* <enumeration value="error"/>
* <enumeration value="degraded"/>
* <enumeration value="lostCommunication"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "ScsiLunState")
@XmlEnum
public enum ScsiLunState {
@XmlEnumValue("unknownState")
UNKNOWN_STATE("unknownState"),
@XmlEnumValue("ok")
OK("ok"),
@XmlEnumValue("error")
ERROR("error"),
@XmlEnumValue("degraded")
DEGRADED("degraded"),
@XmlEnumValue("lostCommunication")
LOST_COMMUNICATION("lostCommunication");
private final String value;
ScsiLunState(String v) {
value = v;
}
public String value() {
return value;
}
public static ScsiLunState fromValue(String v) {
for (ScsiLunState c: ScsiLunState.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy