com.vmware.vcloud.sdk.constants
Enum AllocationModelType

java.lang.Object
  extended by java.lang.Enum<AllocationModelType>
      extended by com.vmware.vcloud.sdk.constants.AllocationModelType
All Implemented Interfaces:
Serializable, Comparable<AllocationModelType>

public enum AllocationModelType
extends Enum<AllocationModelType>

AllocationModel constants

Since:
API 1.5, SDK 1.5
Author:
Ecosystem Engineering

Enum Constant Summary
ALLOCATIONPOOL
          Only a percentage of the resources you allocate are committed to the organization vDC.
ALLOCATIONVAPP
          Resources are committed to a vDC only when vApps are created in it.
RESERVATIONPOOL
          All the resources you allocate are committed as a pool to the organization vDC.
 
Method Summary
static AllocationModelType fromValue(String value)
           
 String value()
           
static AllocationModelType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AllocationModelType[] 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

ALLOCATIONVAPP

public static final AllocationModelType ALLOCATIONVAPP
Resources are committed to a vDC only when vApps are created in it.


ALLOCATIONPOOL

public static final AllocationModelType ALLOCATIONPOOL
Only a percentage of the resources you allocate are committed to the organization vDC.


RESERVATIONPOOL

public static final AllocationModelType RESERVATIONPOOL
All the resources you allocate are committed as a pool to the organization vDC. VApps in vDCs that support this allocation model can specify values for resource and limit.

Method Detail

values

public static AllocationModelType[] 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 (AllocationModelType c : AllocationModelType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static AllocationModelType 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 String value()

fromValue

public static AllocationModelType fromValue(String value)


Copyright © 2016. All Rights Reserved.