|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<AllocationModel> org.jclouds.vcloud.domain.AllocationModel
public enum AllocationModel
The AllocationModel element defines how resources are allocated in a vDC.
Enum Constant Summary | |
---|---|
ALLOCATION_POOL
Only a percentage of the resources you allocate are committed to the organization vDC. |
|
ALLOCATION_VAPP
Resources are committed to a vDC only when vApps are created in it |
|
RESERVATION_POOL
All the resources you allocate are committed as a pool to the organization vDC. |
|
UNRECOGNIZED
The VCloud API returned a model unsupported in the version 1.0 spec. |
Method Summary | |
---|---|
static AllocationModel |
fromValue(String model)
|
String |
toString()
|
String |
value()
|
static AllocationModel |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AllocationModel[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final AllocationModel ALLOCATION_VAPP
public static final AllocationModel ALLOCATION_POOL
public static final AllocationModel RESERVATION_POOL
public static final AllocationModel UNRECOGNIZED
Method Detail |
---|
public static AllocationModel[] values()
for (AllocationModel c : AllocationModel.values()) System.out.println(c);
public static AllocationModel 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 String value()
public String toString()
toString
in class Enum<AllocationModel>
public static AllocationModel fromValue(String model)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |