public class ReservedThroughput extends Object
| 构造器和说明 |
|---|
ReservedThroughput()
Initializes
ReservedThroughput with the default reserved read/write throughput configuration (0 units of read capacity and 0 units of write capacity). |
ReservedThroughput(CapacityUnit capacityUnit)
Initialize
ReservedThroughput. |
ReservedThroughput(int read,
int write)
Initialize
ReservedThroughput. |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
CapacityUnit |
getCapacityUnit()
Get the value of the table's reserved throughput.
|
int |
hashCode() |
void |
setCapacityUnit(CapacityUnit capacityUnit)
Sets the reserved throughput value for the table; you must set both the read and write capacity units simultaneously.
|
public ReservedThroughput()
ReservedThroughput with the default reserved read/write throughput configuration (0 units of read capacity and 0 units of write capacity).public ReservedThroughput(CapacityUnit capacityUnit)
ReservedThroughput.capacityUnit - The reserved read/write throughput setting for the table.public ReservedThroughput(int read,
int write)
ReservedThroughput.read - The configuration of the table's reserved read throughput.write - The configuration of the table's reserved write throughput.public CapacityUnit getCapacityUnit()
public void setCapacityUnit(CapacityUnit capacityUnit)
capacityUnit - The capacity unit to be set.Copyright © 2025. All Rights Reserved.