|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.dynamodbv2.model.ProvisionedThroughput
public class ProvisionedThroughput
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 in the Amazon DynamoDB Developer Guide.
Constructor Summary | |
---|---|
ProvisionedThroughput()
Default constructor for a new ProvisionedThroughput object. |
|
ProvisionedThroughput(Long readCapacityUnits,
Long writeCapacityUnits)
Constructs a new ProvisionedThroughput object. |
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 |
---|
public ProvisionedThroughput()
public ProvisionedThroughput(Long readCapacityUnits, Long writeCapacityUnits)
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 in the Amazon DynamoDB Developer
Guide.writeCapacityUnits
- The maximum number of writes consumed per
second before Amazon DynamoDB returns a ThrottlingException.
For more information, see Specifying
Read and Write Requirements in the Amazon DynamoDB Developer
Guide.Method Detail |
---|
public Long getReadCapacityUnits()
Constraints:
Range: 1 -
public void setReadCapacityUnits(Long readCapacityUnits)
Constraints:
Range: 1 -
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 in the Amazon DynamoDB Developer
Guide.public ProvisionedThroughput withReadCapacityUnits(Long readCapacityUnits)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 -
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 in the Amazon DynamoDB Developer
Guide.
public Long getWriteCapacityUnits()
Constraints:
Range: 1 -
public void setWriteCapacityUnits(Long writeCapacityUnits)
Constraints:
Range: 1 -
writeCapacityUnits
- The maximum number of writes consumed per second before Amazon
DynamoDB returns a ThrottlingException. For more information,
see Specifying
Read and Write Requirements in the Amazon DynamoDB Developer
Guide.public ProvisionedThroughput withWriteCapacityUnits(Long writeCapacityUnits)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 -
writeCapacityUnits
- The maximum number of writes consumed per second before Amazon
DynamoDB returns a ThrottlingException. For more information,
see Specifying
Read and Write Requirements in the Amazon DynamoDB Developer
Guide.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |