Interface ProvisionedThroughput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ProvisionedThroughput.Builder,,ProvisionedThroughput> SdkBuilder<ProvisionedThroughput.Builder,,ProvisionedThroughput> SdkPojo
- Enclosing class:
ProvisionedThroughput
public static interface ProvisionedThroughput.Builder
extends SdkPojo, CopyableBuilder<ProvisionedThroughput.Builder,ProvisionedThroughput>
-
Method Summary
Modifier and TypeMethodDescriptionreadCapacityUnits(Long readCapacityUnits) The maximum number of strongly consistent reads consumed per second before DynamoDB returns aThrottlingException.writeCapacityUnits(Long writeCapacityUnits) The maximum number of writes consumed per second before DynamoDB returns aThrottlingException.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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_REQUESTthe value is set to 0.- Parameters:
readCapacityUnits- The maximum number of strongly consistent reads consumed per second before DynamoDB returns aThrottlingException. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide.If read/write capacity mode is
PAY_PER_REQUESTthe value is set to 0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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_REQUESTthe value is set to 0.- Parameters:
writeCapacityUnits- The maximum number of writes consumed per second before DynamoDB returns aThrottlingException. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide.If read/write capacity mode is
PAY_PER_REQUESTthe value is set to 0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-