|
|||||||
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
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.
Constructor Summary | |
---|---|
ProvisionedThroughput()
Default constructor for a new ProvisionedThroughput object. |
|
ProvisionedThroughput(java.lang.Long readCapacityUnits,
java.lang.Long writeCapacityUnits)
Constructs a new ProvisionedThroughput object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.Long |
getReadCapacityUnits()
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException. |
java.lang.Long |
getWriteCapacityUnits()
The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException. |
int |
hashCode()
|
void |
setReadCapacityUnits(java.lang.Long readCapacityUnits)
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException. |
void |
setWriteCapacityUnits(java.lang.Long writeCapacityUnits)
The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ProvisionedThroughput |
withReadCapacityUnits(java.lang.Long readCapacityUnits)
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException. |
ProvisionedThroughput |
withWriteCapacityUnits(java.lang.Long writeCapacityUnits)
The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ProvisionedThroughput()
public ProvisionedThroughput(java.lang.Long readCapacityUnits, java.lang.Long writeCapacityUnits)
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 Detail |
---|
public java.lang.Long getReadCapacityUnits()
Constraints:
Range: 1 -
public void setReadCapacityUnits(java.lang.Long readCapacityUnits)
Constraints:
Range: 1 -
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.public ProvisionedThroughput withReadCapacityUnits(java.lang.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 DynamoDB returns a ThrottlingException. For more
information, see Specifying
Read and Write Requirements in the Amazon DynamoDB Developer
Guide.
public java.lang.Long getWriteCapacityUnits()
Constraints:
Range: 1 -
public void setWriteCapacityUnits(java.lang.Long writeCapacityUnits)
Constraints:
Range: 1 -
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.public ProvisionedThroughput withWriteCapacityUnits(java.lang.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 DynamoDB
returns a ThrottlingException. For more information, see Specifying
Read and Write Requirements in the Amazon DynamoDB Developer
Guide.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |