Interface ConsumedCapacity.Builder

    • Method Detail

      • tableName

        ConsumedCapacity.Builder tableName​(String tableName)

        The name of the table that was affected by the operation.

        Parameters:
        tableName - The name of the table that was affected by the operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • capacityUnits

        ConsumedCapacity.Builder capacityUnits​(Double capacityUnits)

        The total number of capacity units consumed by the operation.

        Parameters:
        capacityUnits - The total number of capacity units consumed by the operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • readCapacityUnits

        ConsumedCapacity.Builder readCapacityUnits​(Double readCapacityUnits)

        The total number of read capacity units consumed by the operation.

        Parameters:
        readCapacityUnits - The total number of read capacity units consumed by the operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • writeCapacityUnits

        ConsumedCapacity.Builder writeCapacityUnits​(Double writeCapacityUnits)

        The total number of write capacity units consumed by the operation.

        Parameters:
        writeCapacityUnits - The total number of write capacity units consumed by the operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • table

        ConsumedCapacity.Builder table​(Capacity table)

        The amount of throughput consumed on the table affected by the operation.

        Parameters:
        table - The amount of throughput consumed on the table affected by the operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • localSecondaryIndexes

        ConsumedCapacity.Builder localSecondaryIndexes​(Map<String,​Capacity> localSecondaryIndexes)

        The amount of throughput consumed on each local index affected by the operation.

        Parameters:
        localSecondaryIndexes - The amount of throughput consumed on each local index affected by the operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • globalSecondaryIndexes

        ConsumedCapacity.Builder globalSecondaryIndexes​(Map<String,​Capacity> globalSecondaryIndexes)

        The amount of throughput consumed on each global index affected by the operation.

        Parameters:
        globalSecondaryIndexes - The amount of throughput consumed on each global index affected by the operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.