|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jclouds.vcloud.domain.internal.ReferenceTypeImpl org.jclouds.vcloud.domain.internal.VDCImpl
public class VDCImpl
Locations of resources in vCloud
Constructor Summary | |
---|---|
VDCImpl(String name,
String type,
URI id,
VDCStatus status,
ReferenceType org,
String description,
Iterable<Task> tasks,
AllocationModel allocationModel,
Capacity storageCapacity,
Capacity cpuCapacity,
Capacity memoryCapacity,
Map<String,ReferenceType> resourceEntities,
Map<String,ReferenceType> availableNetworks,
int nicQuota,
int networkQuota,
int vmQuota,
boolean isEnabled)
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
AllocationModel |
getAllocationModel()
defines how resources are allocated by the vDC. |
Map<String,ReferenceType> |
getAvailableNetworks()
container for OrgNetwork elements that represent organization networks contained by the vDC |
Capacity |
getCpuCapacity()
reports CPU resource consumption in a vDC |
String |
getDescription()
optional description |
Capacity |
getMemoryCapacity()
reports memory resource consumption in a vDC |
int |
getNetworkQuota()
maximum number of OrgNetwork objects that can be deployed in this vDC. |
int |
getNicQuota()
maximum number of virtual NICs allowed in this vDC. |
ReferenceType |
getOrg()
Reference to the org containing this vDC. |
Map<String,ReferenceType> |
getResourceEntities()
container for ResourceEntity elements |
VDCStatus |
getStatus()
The creation status of the vDC |
Capacity |
getStorageCapacity()
defines the storage capacity available in the vDC |
List<Task> |
getTasks()
read‐only container for Task elements. |
int |
getVmQuota()
maximum number of virtual machines that can be deployed in this vDC. |
int |
hashCode()
|
boolean |
isEnabled()
true if this vDC is enabled |
String |
toString()
|
Methods inherited from class org.jclouds.vcloud.domain.internal.ReferenceTypeImpl |
---|
compareTo, getHref, getName, getType |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.jclouds.vcloud.domain.ReferenceType |
---|
getHref, getName, getType |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Constructor Detail |
---|
public VDCImpl(String name, String type, URI id, VDCStatus status, ReferenceType org, @Nullable String description, Iterable<Task> tasks, AllocationModel allocationModel, @Nullable Capacity storageCapacity, @Nullable Capacity cpuCapacity, @Nullable Capacity memoryCapacity, Map<String,ReferenceType> resourceEntities, Map<String,ReferenceType> availableNetworks, int nicQuota, int networkQuota, int vmQuota, boolean isEnabled)
Method Detail |
---|
public VDCStatus getStatus()
getStatus
in interface VDC
public ReferenceType getOrg()
getOrg
in interface VDC
public String getDescription()
getDescription
in interface VDC
public List<Task> getTasks()
getTasks
in interface VDC
public AllocationModel getAllocationModel()
getAllocationModel
in interface VDC
public Capacity getStorageCapacity()
getStorageCapacity
in interface VDC
public Capacity getCpuCapacity()
getCpuCapacity
in interface VDC
public Capacity getMemoryCapacity()
getMemoryCapacity
in interface VDC
public Map<String,ReferenceType> getResourceEntities()
getResourceEntities
in interface VDC
public Map<String,ReferenceType> getAvailableNetworks()
getAvailableNetworks
in interface VDC
public int getNicQuota()
getNicQuota
in interface VDC
public int getNetworkQuota()
getNetworkQuota
in interface VDC
public int getVmQuota()
getVmQuota
in interface VDC
public boolean isEnabled()
isEnabled
in interface VDC
public int hashCode()
hashCode
in class ReferenceTypeImpl
public boolean equals(Object obj)
equals
in class ReferenceTypeImpl
public String toString()
toString
in class ReferenceTypeImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |