public class Capacity extends Object implements Serializable
Represents the amount of provisioned throughput capacity consumed on a table or an index.
Constructor and Description |
---|
Capacity() |
Modifier and Type | Method and Description |
---|---|
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 Double getCapacityUnits()
public void setCapacityUnits(Double capacityUnits)
capacityUnits
- The total number of capacity units consumed on a table or an index.public Capacity withCapacityUnits(Double capacityUnits)
Returns a reference to this object so that method calls can be chained together.
capacityUnits
- The total number of capacity units consumed on a table or an index.public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.