com.vmware.vim25.HostActiveDirectoryInfoDomainMembershipStatus 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 HostActiveDirectoryInfoDomainMembershipStatus.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="HostActiveDirectoryInfoDomainMembershipStatus">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="unknown"/>
* <enumeration value="ok"/>
* <enumeration value="noServers"/>
* <enumeration value="clientTrustBroken"/>
* <enumeration value="serverTrustBroken"/>
* <enumeration value="inconsistentTrust"/>
* <enumeration value="otherProblem"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "HostActiveDirectoryInfoDomainMembershipStatus")
@XmlEnum
public enum HostActiveDirectoryInfoDomainMembershipStatus {
@XmlEnumValue("unknown")
UNKNOWN("unknown"),
@XmlEnumValue("ok")
OK("ok"),
@XmlEnumValue("noServers")
NO_SERVERS("noServers"),
@XmlEnumValue("clientTrustBroken")
CLIENT_TRUST_BROKEN("clientTrustBroken"),
@XmlEnumValue("serverTrustBroken")
SERVER_TRUST_BROKEN("serverTrustBroken"),
@XmlEnumValue("inconsistentTrust")
INCONSISTENT_TRUST("inconsistentTrust"),
@XmlEnumValue("otherProblem")
OTHER_PROBLEM("otherProblem");
private final String value;
HostActiveDirectoryInfoDomainMembershipStatus(String v) {
value = v;
}
public String value() {
return value;
}
public static HostActiveDirectoryInfoDomainMembershipStatus fromValue(String v) {
for (HostActiveDirectoryInfoDomainMembershipStatus c: HostActiveDirectoryInfoDomainMembershipStatus.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}