|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Version>
com.vmware.vcloud.sdk.constants.Version
public enum Version
This class represents the API versions supported in the SDK.
| Enum Constant Summary | |
|---|---|
V1_5
API Version 1.5 |
|
V20_0
API Version 20.0 |
|
V5_1
API Version 5.1 |
|
V5_5
API Version 5.5 |
|
V5_6
API Version 5.6 |
|
V5_7
API Version 5.7 |
|
V9_0
API Version 9.0 |
|
| Method Summary | |
|---|---|
static Version |
fromValue(String value)
|
String |
value()
|
static Version |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Version[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Version V1_5
public static final Version V5_1
public static final Version V5_5
public static final Version V5_6
public static final Version V5_7
public static final Version V9_0
public static final Version V20_0
| Method Detail |
|---|
public static Version[] values()
for (Version c : Version.values()) System.out.println(c);
public static Version valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic static Version fromValue(String value)
public String value()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||