|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.cloudstack.domain.Capacity
public class Capacity
Information about a dimension of the capacity
| Nested Class Summary | |
|---|---|
static class |
Capacity.Builder<T extends Capacity.Builder<T>>
|
static class |
Capacity.Type
|
| Constructor Summary | |
|---|---|
protected |
Capacity(long capacityTotal,
long capacityUsed,
double percentUsed,
String podId,
String podName,
Capacity.Type type,
String zoneId,
String zoneName)
|
| Method Summary | |
|---|---|
static Capacity.Builder<?> |
builder()
|
int |
compareTo(Capacity other)
|
boolean |
equals(Object obj)
|
long |
getCapacityTotal()
|
long |
getCapacityUsed()
|
double |
getPercentUsed()
|
String |
getPodId()
|
String |
getPodName()
|
Capacity.Type |
getType()
|
String |
getZoneId()
|
String |
getZoneName()
|
int |
hashCode()
|
protected com.google.common.base.Objects.ToStringHelper |
string()
|
Capacity.Builder<?> |
toBuilder()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
@ConstructorProperties(value={"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 Detail |
|---|
public static Capacity.Builder<?> builder()
public Capacity.Builder<?> toBuilder()
public long getCapacityTotal()
public long getCapacityUsed()
public double getPercentUsed()
@Nullable public String getPodId()
@Nullable public String getPodName()
@Nullable public Capacity.Type getType()
@Nullable public String getZoneId()
@Nullable public String getZoneName()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectprotected com.google.common.base.Objects.ToStringHelper string()
public String toString()
toString in class Objectpublic int compareTo(Capacity other)
compareTo in interface Comparable<Capacity>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||