Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.dynamodbv2.model
Class ProvisionedThroughput

java.lang.Object
  extended by com.amazonaws.services.dynamodbv2.model.ProvisionedThroughput
All Implemented Interfaces:
Serializable

public class ProvisionedThroughput
extends Object
implements Serializable

The provisioned throughput settings for the specified table. The settings can be modified using the UpdateTable operation.

For current minimum and maximum provisioned throughput values, see Limits of the Amazon DynamoDB Developer Guide .

See Also:
Serialized Form

Constructor Summary
ProvisionedThroughput()
           
 
Method Summary
 boolean equals(Object obj)
           
 Long getReadCapacityUnits()
          The maximum number of strongly consistent reads consumed per second before Amazon DynamoDB returns a ThrottlingException.
 Long getWriteCapacityUnits()
          The maximum number of writes consumed per second before Amazon DynamoDB returns a ThrottlingException.
 int hashCode()
           
 void setReadCapacityUnits(Long readCapacityUnits)
          The maximum number of strongly consistent reads consumed per second before Amazon DynamoDB returns a ThrottlingException.
 void setWriteCapacityUnits(Long writeCapacityUnits)
          The maximum number of writes consumed per second before Amazon DynamoDB returns a ThrottlingException.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ProvisionedThroughput withReadCapacityUnits(Long readCapacityUnits)
          The maximum number of strongly consistent reads consumed per second before Amazon DynamoDB returns a ThrottlingException.
 ProvisionedThroughput withWriteCapacityUnits(Long writeCapacityUnits)
          The maximum number of writes consumed per second before Amazon DynamoDB returns a ThrottlingException.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProvisionedThroughput

public ProvisionedThroughput()
Method Detail

getReadCapacityUnits

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

Constraints:
Range: 1 -

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

setReadCapacityUnits

public void setReadCapacityUnits(Long readCapacityUnits)
The maximum number of strongly consistent reads consumed per second before Amazon DynamoDB returns a ThrottlingException. For more information, see Specifying Read and Write Requirements of the Amazon DynamoDB Developer Guide.

Constraints:
Range: 1 -

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

withReadCapacityUnits

public ProvisionedThroughput withReadCapacityUnits(Long readCapacityUnits)
The maximum number of strongly consistent reads consumed per second before Amazon DynamoDB returns a ThrottlingException. For more information, see Specifying Read and Write Requirements of the Amazon DynamoDB Developer Guide.

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

Constraints:
Range: 1 -

Parameters:
readCapacityUnits - The maximum number of strongly consistent reads consumed per second before Amazon DynamoDB returns a ThrottlingException. For more information, see Specifying Read and Write Requirements of the Amazon DynamoDB Developer Guide.
Returns:
A reference to this updated object so that method calls can be chained together.

getWriteCapacityUnits

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

Constraints:
Range: 1 -

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

setWriteCapacityUnits

public void setWriteCapacityUnits(Long writeCapacityUnits)
The maximum number of writes consumed per second before Amazon DynamoDB returns a ThrottlingException. For more information, see Specifying Read and Write Requirements of the Amazon DynamoDB Developer Guide.

Constraints:
Range: 1 -

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

withWriteCapacityUnits

public ProvisionedThroughput withWriteCapacityUnits(Long writeCapacityUnits)
The maximum number of writes consumed per second before Amazon DynamoDB returns a ThrottlingException. For more information, see Specifying Read and Write Requirements of the Amazon DynamoDB Developer Guide.

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

Constraints:
Range: 1 -

Parameters:
writeCapacityUnits - The maximum number of writes consumed per second before Amazon DynamoDB returns a ThrottlingException. For more information, see Specifying Read and Write Requirements of the Amazon DynamoDB Developer Guide.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.