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:
  • Constructor Details

    • Capacity

      public Capacity()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public Capacity clone()
      Overrides:
      clone in class Object