org.jclouds.vcloud.director.v1_5.domain
Class ComputeCapacity

java.lang.Object
  extended by org.jclouds.vcloud.director.v1_5.domain.ComputeCapacity

public class ComputeCapacity
extends Object

Represents a compute capacity with units.

Java class for ComputeCapacity complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="ComputeCapacity">
   <complexContent>
     <extension base="{http://www.vmware.com/vcloud/v1.5}VCloudExtensibleType">
       <sequence>
         <element name="Cpu" type="{http://www.vmware.com/vcloud/v1.5}CapacityWithUsageType"/>
         <element name="Memory" type="{http://www.vmware.com/vcloud/v1.5}CapacityWithUsageType"/>
       </sequence>
       <anyAttribute processContents='lax' namespace='##other'/>
     </extension>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class ComputeCapacity.Builder
           
 
Field Summary
protected  CapacityWithUsage cpu
           
protected  CapacityWithUsage memory
           
 
Method Summary
static ComputeCapacity.Builder builder()
           
 boolean equals(Object o)
           
 CapacityWithUsage getCpu()
          Gets the value of the cpu property.
 CapacityWithUsage getMemory()
          Gets the value of the memory property.
 int hashCode()
           
 ComputeCapacity.Builder toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

cpu

protected CapacityWithUsage cpu

memory

protected CapacityWithUsage memory
Method Detail

builder

public static ComputeCapacity.Builder builder()

toBuilder

public ComputeCapacity.Builder toBuilder()

getCpu

public CapacityWithUsage getCpu()
Gets the value of the cpu property.

Returns:
possible object is CapacityWithUsage

getMemory

public CapacityWithUsage getMemory()
Gets the value of the memory property.

Returns:
possible object is CapacityWithUsage

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012 jclouds. All Rights Reserved.