public enum VsanHostNodeState extends Enum<VsanHostNodeState>
Java class for VsanHostNodeState.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="VsanHostNodeState">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="error"/>
<enumeration value="disabled"/>
<enumeration value="agent"/>
<enumeration value="master"/>
<enumeration value="backup"/>
<enumeration value="starting"/>
<enumeration value="stopping"/>
<enumeration value="enteringMaintenanceMode"/>
<enumeration value="exitingMaintenanceMode"/>
<enumeration value="decommissioning"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
AGENT |
BACKUP |
DECOMMISSIONING |
DISABLED |
ENTERING_MAINTENANCE_MODE |
ERROR |
EXITING_MAINTENANCE_MODE |
MASTER |
STARTING |
STOPPING |
| Modifier and Type | Method and Description |
|---|---|
static VsanHostNodeState |
fromValue(String v) |
String |
value() |
static VsanHostNodeState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VsanHostNodeState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VsanHostNodeState ERROR
public static final VsanHostNodeState DISABLED
public static final VsanHostNodeState AGENT
public static final VsanHostNodeState MASTER
public static final VsanHostNodeState BACKUP
public static final VsanHostNodeState STARTING
public static final VsanHostNodeState STOPPING
public static final VsanHostNodeState ENTERING_MAINTENANCE_MODE
public static final VsanHostNodeState EXITING_MAINTENANCE_MODE
public static final VsanHostNodeState DECOMMISSIONING
public static VsanHostNodeState[] values()
for (VsanHostNodeState c : VsanHostNodeState.values()) System.out.println(c);
public static VsanHostNodeState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static VsanHostNodeState fromValue(String v)
Copyright © 2018. All rights reserved.