public enum VmProperties extends Enum<VmProperties>
Modifier and Type | Method and Description |
---|---|
static VmProperties |
getEnumFromValue(String value)
Returns a VmProperty if the String passed is the same as one of the states
of the enumerator.
|
String |
getValue() |
String |
toString() |
static VmProperties |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VmProperties[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VmProperties CPU_ARCH
public static final VmProperties CPU_COUNT
public static final VmProperties MEMORY_SIZE
public static final VmProperties STATE
public static final VmProperties PROVIDER_TYPE
public static final VmProperties NET_INTERFACE_0_IP
public static final VmProperties NET_INTERFACE_0_CONNECTION
public static final VmProperties NET_INTERFACE_0_DNS_NAME
public static final VmProperties DISK_0_IMAGE_URL
public static final VmProperties DISK_0_OS_NAME
public static final VmProperties DISK_0_OS_CREDENTIALS_USERNAME
public static final VmProperties DISK_0_OS_CREDENTIALS_PASSWORD
public static final VmProperties DISK_0_OS_CREDENTIALS_NEW_PASSWORD
public static VmProperties[] values()
for (VmProperties c : VmProperties.values()) System.out.println(c);
public static VmProperties 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 toString()
toString
in class Enum<VmProperties>
public String getValue()
public static VmProperties getEnumFromValue(String value) throws NoEnumFoundException
value
- : string of the value to retrieveNoEnumFoundException
Copyright © 2016. All rights reserved.