com.vmware.vcloud.sdk.constants
Enum VMStatus
java.lang.Object
java.lang.Enum<VMStatus>
com.vmware.vcloud.sdk.constants.VMStatus
- All Implemented Interfaces:
- Serializable, Comparable<VMStatus>
public enum VMStatus
- extends Enum<VMStatus>
This enum represents the differnet vApp/VM status.
- Since:
- SDK 1.5
- Author:
- Ecosystem Engineering
FAILED_CREATION
public static final VMStatus FAILED_CREATION
UNRESOLVED
public static final VMStatus UNRESOLVED
RESOLVED
public static final VMStatus RESOLVED
SUSPENDED
public static final VMStatus SUSPENDED
POWERED_ON
public static final VMStatus POWERED_ON
WAITING_FOR_INPUT
public static final VMStatus WAITING_FOR_INPUT
UNKNOWN
public static final VMStatus UNKNOWN
UNRECOGNIZED
public static final VMStatus UNRECOGNIZED
POWERED_OFF
public static final VMStatus POWERED_OFF
INCONSISTENT_STATE
public static final VMStatus INCONSISTENT_STATE
values
public static VMStatus[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (VMStatus c : VMStatus.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static VMStatus valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
value
public int value()
fromValue
public static VMStatus fromValue(int value)
Copyright © 2016. All Rights Reserved.