
com.vmware.vim.ManagedEntityStatus 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 ManagedEntityStatus.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="ManagedEntityStatus">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="gray"/>
* <enumeration value="green"/>
* <enumeration value="yellow"/>
* <enumeration value="red"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "ManagedEntityStatus")
@XmlEnum
public enum ManagedEntityStatus {
@XmlEnumValue("gray")
GRAY("gray"),
@XmlEnumValue("green")
GREEN("green"),
@XmlEnumValue("yellow")
YELLOW("yellow"),
@XmlEnumValue("red")
RED("red");
private final String value;
ManagedEntityStatus(String v) {
value = v;
}
public String value() {
return value;
}
public static ManagedEntityStatus fromValue(String v) {
for (ManagedEntityStatus c: ManagedEntityStatus.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy