public static class TableLimits.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TableLimits |
build() |
TableLimits.Builder |
capacityMode(TableLimits.CapacityMode capacityMode)
The capacity mode of the table.
|
TableLimits.Builder |
copy(TableLimits model) |
TableLimits.Builder |
maxReadUnits(Integer maxReadUnits)
Maximum sustained read throughput limit for the table.
|
TableLimits.Builder |
maxStorageInGBs(Integer maxStorageInGBs)
Maximum size of storage used by the table.
|
TableLimits.Builder |
maxWriteUnits(Integer maxWriteUnits)
Maximum sustained write throughput limit for the table.
|
public TableLimits.Builder maxReadUnits(Integer maxReadUnits)
Maximum sustained read throughput limit for the table.
maxReadUnits
- the value to setpublic TableLimits.Builder maxWriteUnits(Integer maxWriteUnits)
Maximum sustained write throughput limit for the table.
maxWriteUnits
- the value to setpublic TableLimits.Builder maxStorageInGBs(Integer maxStorageInGBs)
Maximum size of storage used by the table.
maxStorageInGBs
- the value to setpublic TableLimits.Builder capacityMode(TableLimits.CapacityMode capacityMode)
The capacity mode of the table. If capacityMode = ON_DEMAND, maxReadUnits and maxWriteUnits are not used, and both will have the value of zero.
capacityMode
- the value to setpublic TableLimits build()
public TableLimits.Builder copy(TableLimits model)
Copyright © 2016–2024. All rights reserved.