@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Capacity extends Object implements Serializable, Cloneable, StructuredPojo
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. | 
| Double | getReadCapacityUnits()
 The total number of read capacity units consumed on a table or an index. | 
| Double | getWriteCapacityUnits()
 The total number of write capacity units consumed on a table or an index. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setCapacityUnits(Double capacityUnits)
 The total number of capacity units consumed on a table or an index. | 
| void | setReadCapacityUnits(Double readCapacityUnits)
 The total number of read capacity units consumed on a table or an index. | 
| void | setWriteCapacityUnits(Double writeCapacityUnits)
 The total number of write capacity units consumed on a table or an index. | 
| String | toString()Returns a string representation of this object. | 
| Capacity | withCapacityUnits(Double capacityUnits)
 The total number of capacity units consumed on a table or an index. | 
| Capacity | withReadCapacityUnits(Double readCapacityUnits)
 The total number of read capacity units consumed on a table or an index. | 
| Capacity | withWriteCapacityUnits(Double writeCapacityUnits)
 The total number of write capacity units consumed on a table or an index. | 
public void setReadCapacityUnits(Double readCapacityUnits)
The total number of read capacity units consumed on a table or an index.
readCapacityUnits - The total number of read capacity units consumed on a table or an index.public Double getReadCapacityUnits()
The total number of read capacity units consumed on a table or an index.
public Capacity withReadCapacityUnits(Double readCapacityUnits)
The total number of read capacity units consumed on a table or an index.
readCapacityUnits - The total number of read capacity units consumed on a table or an index.public void setWriteCapacityUnits(Double writeCapacityUnits)
The total number of write capacity units consumed on a table or an index.
writeCapacityUnits - The total number of write capacity units consumed on a table or an index.public Double getWriteCapacityUnits()
The total number of write capacity units consumed on a table or an index.
public Capacity withWriteCapacityUnits(Double writeCapacityUnits)
The total number of write capacity units consumed on a table or an index.
writeCapacityUnits - The total number of write 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()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.