|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.dynamodb.model.ProvisionedThroughput
public class ProvisionedThroughput
Provisioned throughput reserves the required read and write resources for your table in terms of ReadCapacityUnits and WriteCapacityUnits. Values for provisioned throughput depend upon your expected read/write rates, item size, and consistency. Provide the expected number of read and write operations, assuming an item size of 1KB and strictly consistent reads. For 2KB item size, double the value, 3KB, triple the value, etc. Eventually consistent reads consume half the resources of strictly consistent reads.
Constructor Summary | |
---|---|
ProvisionedThroughput()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Long |
getReadCapacityUnits()
ReadCapacityUnits are in terms of strictly consistent reads, assuming items of 1KB. |
Long |
getWriteCapacityUnits()
WriteCapacityUnits are in terms of strictly consistent reads, assuming items of 1KB. |
int |
hashCode()
|
void |
setReadCapacityUnits(Long readCapacityUnits)
ReadCapacityUnits are in terms of strictly consistent reads, assuming items of 1KB. |
void |
setWriteCapacityUnits(Long writeCapacityUnits)
WriteCapacityUnits are in terms of strictly consistent reads, assuming items of 1KB. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ProvisionedThroughput |
withReadCapacityUnits(Long readCapacityUnits)
ReadCapacityUnits are in terms of strictly consistent reads, assuming items of 1KB. |
ProvisionedThroughput |
withWriteCapacityUnits(Long writeCapacityUnits)
WriteCapacityUnits are in terms of strictly consistent reads, assuming items of 1KB. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ProvisionedThroughput()
Method Detail |
---|
public Long getReadCapacityUnits()
Constraints:
Range: 1 -
public void setReadCapacityUnits(Long readCapacityUnits)
Constraints:
Range: 1 -
readCapacityUnits
- ReadCapacityUnits are in terms of strictly consistent reads, assuming
items of 1KB. 2KB items require twice the ReadCapacityUnits.
Eventually consistent reads only require half the ReadCapacityUnits of
stirctly consistent reads.public ProvisionedThroughput withReadCapacityUnits(Long readCapacityUnits)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 -
readCapacityUnits
- ReadCapacityUnits are in terms of strictly consistent reads, assuming
items of 1KB. 2KB items require twice the ReadCapacityUnits.
Eventually consistent reads only require half the ReadCapacityUnits of
stirctly consistent reads.
public Long getWriteCapacityUnits()
Constraints:
Range: 1 -
public void setWriteCapacityUnits(Long writeCapacityUnits)
Constraints:
Range: 1 -
writeCapacityUnits
- WriteCapacityUnits are in terms of strictly consistent reads, assuming
items of 1KB. 2KB items require twice the WriteCapacityUnits.public ProvisionedThroughput withWriteCapacityUnits(Long writeCapacityUnits)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 -
writeCapacityUnits
- WriteCapacityUnits are in terms of strictly consistent reads, assuming
items of 1KB. 2KB items require twice the WriteCapacityUnits.
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 |