Interface OnDemandThroughput.Builder

  • Method Details

    • maxReadRequestUnits

      OnDemandThroughput.Builder maxReadRequestUnits(Long maxReadRequestUnits)

      Maximum number of read request units for the specified table.

      To specify a maximum OnDemandThroughput on your table, set the value of MaxReadRequestUnits as greater than or equal to 1. To remove the maximum OnDemandThroughput that is currently set on your table, set the value of MaxReadRequestUnits to -1.

      Parameters:
      maxReadRequestUnits - Maximum number of read request units for the specified table.

      To specify a maximum OnDemandThroughput on your table, set the value of MaxReadRequestUnits as greater than or equal to 1. To remove the maximum OnDemandThroughput that is currently set on your table, set the value of MaxReadRequestUnits to -1.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxWriteRequestUnits

      OnDemandThroughput.Builder maxWriteRequestUnits(Long maxWriteRequestUnits)

      Maximum number of write request units for the specified table.

      To specify a maximum OnDemandThroughput on your table, set the value of MaxWriteRequestUnits as greater than or equal to 1. To remove the maximum OnDemandThroughput that is currently set on your table, set the value of MaxWriteRequestUnits to -1.

      Parameters:
      maxWriteRequestUnits - Maximum number of write request units for the specified table.

      To specify a maximum OnDemandThroughput on your table, set the value of MaxWriteRequestUnits as greater than or equal to 1. To remove the maximum OnDemandThroughput that is currently set on your table, set the value of MaxWriteRequestUnits to -1.

      Returns:
      Returns a reference to this object so that method calls can be chained together.