public enum AllocationModel extends Enum<AllocationModel>
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final AllocationModel ALLOCATION_VAPP
public static final AllocationModel ALLOCATION_POOL
public static final AllocationModel RESERVATION_POOL
public static final AllocationModel UNRECOGNIZED
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 nameNullPointerException
- if the argument is nullpublic String value()
public String toString()
toString
in class Enum<AllocationModel>
public static AllocationModel fromValue(String model)
Copyright © 2009-2012 jclouds. All Rights Reserved.