public class Capacity extends Object implements Comparable<Capacity>
Modifier and Type | Class and Description |
---|---|
static class |
Capacity.Builder |
static class |
Capacity.Type |
Constructor and Description |
---|
Capacity(long capacityTotal,
long capacityUsed,
double percentUsed,
long podId,
String podName,
Capacity.Type type,
long zoneId,
String zoneName) |
Modifier and Type | Method and Description |
---|---|
static Capacity.Builder |
builder() |
int |
compareTo(Capacity other) |
boolean |
equals(Object o) |
long |
getCapacityTotal() |
long |
getCapacityUsed() |
double |
getPercentUsed() |
long |
getPodId() |
String |
getPodName() |
Capacity.Type |
getType() |
long |
getZoneId() |
String |
getZoneName() |
int |
hashCode() |
String |
toString() |
public Capacity(long capacityTotal, long capacityUsed, double percentUsed, long podId, String podName, Capacity.Type type, long zoneId, String zoneName)
public static Capacity.Builder builder()
public long getCapacityTotal()
public long getCapacityUsed()
public double getPercentUsed()
public long getPodId()
public String getPodName()
public Capacity.Type getType()
public long getZoneId()
public String getZoneName()
public int compareTo(Capacity other)
compareTo
in interface Comparable<Capacity>
Copyright © 2009-2012 jclouds. All Rights Reserved.