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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProvisionedThroughput.Builder
readCapacityUnits(Long readCapacityUnits)
The maximum number of strongly consistent reads consumed per second before DynamoDB returns aThrottlingException
.ProvisionedThroughput.Builder
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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
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 aThrottlingException
. 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 aThrottlingException
. 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.
-
-