|
|||||||
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 1k and strictly consistent reads. For 2k item size, double the value. For
3k, 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 1k. |
Long |
getWriteCapacityUnits()
WriteCapacityUnits are in terms of strictly consistent
reads, assuming items of 1k. |
int |
hashCode()
|
void |
setReadCapacityUnits(Long readCapacityUnits)
ReadCapacityUnits are in terms of strictly consistent
reads, assuming items of 1k. |
void |
setWriteCapacityUnits(Long writeCapacityUnits)
WriteCapacityUnits are in terms of strictly consistent
reads, assuming items of 1k. |
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 1k. |
ProvisionedThroughput |
withWriteCapacityUnits(Long writeCapacityUnits)
WriteCapacityUnits are in terms of strictly consistent
reads, assuming items of 1k. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ProvisionedThroughput()
Method Detail |
---|
public Long getReadCapacityUnits()
ReadCapacityUnits
are in terms of strictly consistent
reads, assuming items of 1k. 2k items require twice the
ReadCapacityUnits
. Eventually-consistent reads only
require half the ReadCapacityUnits
of stirctly consistent
reads.
Constraints:
Range: 1 -
ReadCapacityUnits
are in terms of strictly consistent
reads, assuming items of 1k. 2k items require twice the
ReadCapacityUnits
. Eventually-consistent reads only
require half the ReadCapacityUnits
of stirctly consistent
reads.public void setReadCapacityUnits(Long readCapacityUnits)
ReadCapacityUnits
are in terms of strictly consistent
reads, assuming items of 1k. 2k items require twice the
ReadCapacityUnits
. Eventually-consistent reads only
require half the ReadCapacityUnits
of stirctly consistent
reads.
Constraints:
Range: 1 -
readCapacityUnits
- ReadCapacityUnits
are in terms of strictly consistent
reads, assuming items of 1k. 2k items require twice the
ReadCapacityUnits
. Eventually-consistent reads only
require half the ReadCapacityUnits
of stirctly consistent
reads.public ProvisionedThroughput withReadCapacityUnits(Long readCapacityUnits)
ReadCapacityUnits
are in terms of strictly consistent
reads, assuming items of 1k. 2k items require twice the
ReadCapacityUnits
. Eventually-consistent reads only
require half the ReadCapacityUnits
of stirctly consistent
reads.
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 1k. 2k items require twice the
ReadCapacityUnits
. Eventually-consistent reads only
require half the ReadCapacityUnits
of stirctly consistent
reads.
public Long getWriteCapacityUnits()
WriteCapacityUnits
are in terms of strictly consistent
reads, assuming items of 1k. 2k items require twice the
WriteCapacityUnits
.
Constraints:
Range: 1 -
WriteCapacityUnits
are in terms of strictly consistent
reads, assuming items of 1k. 2k items require twice the
WriteCapacityUnits
.public void setWriteCapacityUnits(Long writeCapacityUnits)
WriteCapacityUnits
are in terms of strictly consistent
reads, assuming items of 1k. 2k items require twice the
WriteCapacityUnits
.
Constraints:
Range: 1 -
writeCapacityUnits
- WriteCapacityUnits
are in terms of strictly consistent
reads, assuming items of 1k. 2k items require twice the
WriteCapacityUnits
.public ProvisionedThroughput withWriteCapacityUnits(Long writeCapacityUnits)
WriteCapacityUnits
are in terms of strictly consistent
reads, assuming items of 1k. 2k items require twice the
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 1k. 2k 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 |