Modifier and Type | Field and Description |
---|---|
protected long |
capacityTotal |
protected long |
capacityUsed |
protected double |
percentUsed |
protected String |
podId |
protected String |
podName |
protected Capacity.Type |
type |
protected String |
zoneId |
protected String |
zoneName |
Constructor and Description |
---|
Capacity.Builder() |
Modifier and Type | Method and Description |
---|---|
Capacity |
build() |
T |
capacityTotal(long capacityTotal) |
T |
capacityUsed(long capacityUsed) |
T |
fromCapacity(Capacity in) |
T |
percentUsed(double percentUsed) |
T |
podId(String podId) |
T |
podName(String podName) |
protected abstract T |
self() |
T |
type(Capacity.Type type) |
T |
zoneId(String zoneId) |
T |
zoneName(String zoneName) |
protected long capacityTotal
protected long capacityUsed
protected double percentUsed
protected String podId
protected String podName
protected Capacity.Type type
protected String zoneId
protected String zoneName
protected abstract T self()
public T capacityTotal(long capacityTotal)
Capacity.getCapacityTotal()
public T capacityUsed(long capacityUsed)
Capacity.getCapacityUsed()
public T percentUsed(double percentUsed)
Capacity.getPercentUsed()
public T podId(String podId)
Capacity.getPodId()
public T podName(String podName)
Capacity.getPodName()
public T type(Capacity.Type type)
Capacity.getType()
public T zoneId(String zoneId)
Capacity.getZoneId()
public T zoneName(String zoneName)
Capacity.getZoneName()
public Capacity build()
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.