All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vmware.vim25.HostAccessMode Maven / Gradle / Ivy

There is a newer version: 0.6.60
Show newest version

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 HostAccessMode. * *

The following schema fragment specifies the expected content contained within this class. *

*

 * <simpleType name="HostAccessMode">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="accessNone"/>
 *     <enumeration value="accessAdmin"/>
 *     <enumeration value="accessNoAccess"/>
 *     <enumeration value="accessReadOnly"/>
 *     <enumeration value="accessOther"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "HostAccessMode") @XmlEnum public enum HostAccessMode { @XmlEnumValue("accessNone") ACCESS_NONE("accessNone"), @XmlEnumValue("accessAdmin") ACCESS_ADMIN("accessAdmin"), @XmlEnumValue("accessNoAccess") ACCESS_NO_ACCESS("accessNoAccess"), @XmlEnumValue("accessReadOnly") ACCESS_READ_ONLY("accessReadOnly"), @XmlEnumValue("accessOther") ACCESS_OTHER("accessOther"); private final String value; HostAccessMode(String v) { value = v; } public String value() { return value; } public static HostAccessMode fromValue(String v) { for (HostAccessMode c: HostAccessMode.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy