org.jclouds.cloudstack.domain
Class Capacity
java.lang.Object
org.jclouds.cloudstack.domain.Capacity
- All Implemented Interfaces:
- Comparable<Capacity>
public class Capacity
- extends Object
- implements Comparable<Capacity>
Information about a dimension of the capacity
- Author:
- Richard Downer
Constructor Summary |
Capacity(long capacityTotal,
long capacityUsed,
double percentUsed,
long podId,
String podName,
Capacity.Type type,
long zoneId,
String zoneName)
|
Capacity
public Capacity(long capacityTotal,
long capacityUsed,
double percentUsed,
long podId,
String podName,
Capacity.Type type,
long zoneId,
String zoneName)
builder
public static Capacity.Builder builder()
getCapacityTotal
public long getCapacityTotal()
getCapacityUsed
public long getCapacityUsed()
getPercentUsed
public double getPercentUsed()
getPodId
public long getPodId()
getPodName
public String getPodName()
getType
public Capacity.Type getType()
getZoneId
public long getZoneId()
getZoneName
public String getZoneName()
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
compareTo
public int compareTo(Capacity other)
- Specified by:
compareTo
in interface Comparable<Capacity>
Copyright © 2009-2012 jclouds. All Rights Reserved.