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

java.lang.Object
  extended by org.jclouds.vcloud.director.v1_5.domain.CapacityType<CapacityWithUsage>
      extended by org.jclouds.vcloud.director.v1_5.domain.CapacityWithUsage

public class CapacityWithUsage
extends CapacityType<CapacityWithUsage>

Represents a capacity and usage of a given resource.

Java class for CapacityWithUsage complex type.

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

 <complexType name="CapacityWithUsage">
   <complexContent>
     <extension base="{http://www.vmware.com/vcloud/v1.5}CapacityType">
       <sequence>
         <element name="Used" type="{http://www.w3.org/2001/XMLSchema}Long" minOccurs="0"/>
         <element name="Overhead" type="{http://www.w3.org/2001/XMLSchema}Long" minOccurs="0"/>
       </sequence>
       <anyAttribute processContents='lax' namespace='##other'/>
     </extension>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class CapacityWithUsage.Builder
           
 
Field Summary
protected  Long overhead
           
protected  Long used
           
 
Fields inherited from class org.jclouds.vcloud.director.v1_5.domain.CapacityType
allocated, limit, units
 
Method Summary
static CapacityWithUsage.Builder builder()
           
 boolean equals(Object o)
           
 Long getOverhead()
          Gets the value of the overhead property.
 Long getUsed()
          Gets the value of the used property.
 int hashCode()
           
 CapacityWithUsage.Builder toBuilder()
           
 String toString()
           
 
Methods inherited from class org.jclouds.vcloud.director.v1_5.domain.CapacityType
getAllocated, getLimit, getUnits
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

used

protected Long used

overhead

protected Long overhead
Method Detail

builder

public static CapacityWithUsage.Builder builder()

toBuilder

public CapacityWithUsage.Builder toBuilder()
Overrides:
toBuilder in class CapacityType<CapacityWithUsage>

getUsed

public Long getUsed()
Gets the value of the used property.

Returns:
possible object is Long

getOverhead

public Long getOverhead()
Gets the value of the overhead property.

Returns:
possible object is Long

equals

public boolean equals(Object o)
Overrides:
equals in class CapacityType<CapacityWithUsage>

hashCode

public int hashCode()
Overrides:
hashCode in class CapacityType<CapacityWithUsage>

toString

public String toString()
Overrides:
toString in class CapacityType<CapacityWithUsage>


Copyright © 2009-2012 jclouds. All Rights Reserved.