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