Class Capacity

    • Constructor Detail

      • Capacity

        public Capacity()
    • 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 class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object