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

com.vmware.vim25.VirtualMachineFaultToleranceState 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 VirtualMachineFaultToleranceState. * *

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

*

 * <simpleType name="VirtualMachineFaultToleranceState">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="notConfigured"/>
 *     <enumeration value="disabled"/>
 *     <enumeration value="enabled"/>
 *     <enumeration value="needSecondary"/>
 *     <enumeration value="starting"/>
 *     <enumeration value="running"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "VirtualMachineFaultToleranceState") @XmlEnum public enum VirtualMachineFaultToleranceState { @XmlEnumValue("notConfigured") NOT_CONFIGURED("notConfigured"), @XmlEnumValue("disabled") DISABLED("disabled"), @XmlEnumValue("enabled") ENABLED("enabled"), @XmlEnumValue("needSecondary") NEED_SECONDARY("needSecondary"), @XmlEnumValue("starting") STARTING("starting"), @XmlEnumValue("running") RUNNING("running"); private final String value; VirtualMachineFaultToleranceState(String v) { value = v; } public String value() { return value; } public static VirtualMachineFaultToleranceState fromValue(String v) { for (VirtualMachineFaultToleranceState c: VirtualMachineFaultToleranceState.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy