Interface ProvisionedThroughput.Builder

  • Method Details

    • readCapacityUnits

      ProvisionedThroughput.Builder readCapacityUnits(Long readCapacityUnits)

      The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide.

      If read/write capacity mode is PAY_PER_REQUEST the value is set to 0.

      Parameters:
      readCapacityUnits - The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide.

      If read/write capacity mode is PAY_PER_REQUEST the value is set to 0.

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

      ProvisionedThroughput.Builder writeCapacityUnits(Long writeCapacityUnits)

      The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide.

      If read/write capacity mode is PAY_PER_REQUEST the value is set to 0.

      Parameters:
      writeCapacityUnits - The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide.

      If read/write capacity mode is PAY_PER_REQUEST the value is set to 0.

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