Class ProvisionedThroughput
- All Implemented Interfaces:
Serializable, Cloneable
Represents the provisioned throughput settings for a specified table or index. The settings can be modified using the UpdateTable operation.
For current minimum and maximum provisioned throughput values, see Limits in the Amazon DynamoDB Developer Guide.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for ProvisionedThroughput object.ProvisionedThroughput(Long readCapacityUnits, Long writeCapacityUnits) Constructs a new ProvisionedThroughput object. -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException.The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException.inthashCode()voidsetReadCapacityUnits(Long readCapacityUnits) The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException.voidsetWriteCapacityUnits(Long writeCapacityUnits) The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException.toString()Returns a string representation of this object; useful for testing and debugging.withReadCapacityUnits(Long readCapacityUnits) The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException.withWriteCapacityUnits(Long writeCapacityUnits) The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException.
-
Constructor Details
-
ProvisionedThroughput
public ProvisionedThroughput()Default constructor for ProvisionedThroughput object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
ProvisionedThroughput
Constructs a new ProvisionedThroughput object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- 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.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.
-
-
Method Details
-
setReadCapacityUnits
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.
- 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.
-
getReadCapacityUnits
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.
- Returns:
- 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.
-
withReadCapacityUnits
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.
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setWriteCapacityUnits
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.
- 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.
-
getWriteCapacityUnits
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.
- Returns:
- 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.
-
withWriteCapacityUnits
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.
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-