@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.
|
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.
|
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 Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.