Package org.jclouds.cloudstack.domain
Class Capacity
java.lang.Object
org.jclouds.cloudstack.domain.Capacity
- All Implemented Interfaces:
Comparable<Capacity>
Information about a dimension of the capacity
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Capacity.Builder<T extends Capacity.Builder<T>>
static enum
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Capacity
@ConstructorProperties({"capacitytotal","capacityused","percentused","podid","podname","type","zoneid","zonename"}) protected Capacity(long capacityTotal, long capacityUsed, double percentUsed, @Nullable String podId, @Nullable String podName, @Nullable Capacity.Type type, @Nullable String zoneId, @Nullable String zoneName)
-
-
Method Details
-
builder
-
toBuilder
-
getCapacityTotal
public long getCapacityTotal() -
getCapacityUsed
public long getCapacityUsed() -
getPercentUsed
public double getPercentUsed() -
getPodId
-
getPodName
-
getType
-
getZoneId
-
getZoneName
-
hashCode
public int hashCode() -
equals
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string() -
toString
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Capacity>
-