public class Capacity extends Object implements Serializable, Cloneable
Represents the amount of provisioned throughput capacity consumed on a table or an index.
| Constructor and Description |
|---|
Capacity() |
| Modifier and Type | Method and Description |
|---|---|
Capacity |
clone() |
boolean |
equals(Object obj) |
Double |
getCapacityUnits()
The total number of capacity units consumed on a table or an index.
|
int |
hashCode() |
void |
setCapacityUnits(Double capacityUnits)
The total number of capacity units consumed on a table or an index.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Capacity |
withCapacityUnits(Double capacityUnits)
The total number of capacity units consumed on a table or an index.
|
public void setCapacityUnits(Double capacityUnits)
The total number of capacity units consumed on a table or an index.
capacityUnits - The total number of capacity units consumed on a table or an
index.public Double getCapacityUnits()
The total number of capacity units consumed on a table or an index.
public Capacity withCapacityUnits(Double capacityUnits)
The total number of capacity units consumed on a table or an index.
capacityUnits - The total number of capacity units consumed on a table or an
index.public String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.