Class Capacity
java.lang.Object
com.amazonaws.services.dynamodbv2.model.Capacity
- All Implemented Interfaces:
Serializable
,Cloneable
Represents the amount of provisioned throughput capacity consumed on a table or an index.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
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.toString()
Returns a string representation of this object; useful for testing and debugging.withCapacityUnits
(Double capacityUnits) The total number of capacity units consumed on a table or an index.
-
Constructor Details
-
Capacity
public Capacity()
-
-
Method Details
-
setCapacityUnits
The total number of capacity units consumed on a table or an index.
- Parameters:
capacityUnits
- The total number of capacity units consumed on a table or an index.
-
getCapacityUnits
The total number of capacity units consumed on a table or an index.
- Returns:
- The total number of capacity units consumed on a table or an index.
-
withCapacityUnits
The total number of capacity units consumed on a table or an index.
- Parameters:
capacityUnits
- The total number of capacity units consumed on a table or an index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-