Class Capacity
- java.lang.Object
-
- com.amazonaws.services.dynamodbv2.model.Capacity
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class Capacity extends Object implements Serializable, Cloneable
Represents the amount of provisioned throughput capacity consumed on a table or an index.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Capacity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
setCapacityUnits
public void setCapacityUnits(Double capacityUnits)
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
public Double 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
public Capacity withCapacityUnits(Double capacityUnits)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-