public static class TableUsageSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TableUsageSummary |
build() |
TableUsageSummary.Builder |
copy(TableUsageSummary model) |
TableUsageSummary.Builder |
maxShardSizeUsageInPercent(Integer maxShardSizeUsageInPercent)
The percentage of allowed per-shard usage for the table shard with the highest usage.
|
TableUsageSummary.Builder |
readThrottleCount(Integer readThrottleCount)
The number of times reads were throttled due to exceeding the read throughput limit.
|
TableUsageSummary.Builder |
readUnits(Integer readUnits)
Read throughput during the sampling period.
|
TableUsageSummary.Builder |
secondsInPeriod(Integer secondsInPeriod)
The length of the sampling period.
|
TableUsageSummary.Builder |
storageInGBs(Integer storageInGBs)
The size of the table, in GB.
|
TableUsageSummary.Builder |
storageThrottleCount(Integer storageThrottleCount)
The number of times writes were throttled because the table exceeded its size limit.
|
TableUsageSummary.Builder |
timeStarted(Date timeStarted)
The time stamp of this usage record.
|
TableUsageSummary.Builder |
writeThrottleCount(Integer writeThrottleCount)
The number of times writes were throttled due to exceeding the write throughput limit.
|
TableUsageSummary.Builder |
writeUnits(Integer writeUnits)
Write throughput during the sampling period.
|
public TableUsageSummary.Builder secondsInPeriod(Integer secondsInPeriod)
The length of the sampling period.
secondsInPeriod
- the value to setpublic TableUsageSummary.Builder readUnits(Integer readUnits)
Read throughput during the sampling period.
readUnits
- the value to setpublic TableUsageSummary.Builder writeUnits(Integer writeUnits)
Write throughput during the sampling period.
writeUnits
- the value to setpublic TableUsageSummary.Builder storageInGBs(Integer storageInGBs)
The size of the table, in GB.
storageInGBs
- the value to setpublic TableUsageSummary.Builder readThrottleCount(Integer readThrottleCount)
The number of times reads were throttled due to exceeding the read throughput limit.
readThrottleCount
- the value to setpublic TableUsageSummary.Builder writeThrottleCount(Integer writeThrottleCount)
The number of times writes were throttled due to exceeding the write throughput limit.
writeThrottleCount
- the value to setpublic TableUsageSummary.Builder storageThrottleCount(Integer storageThrottleCount)
The number of times writes were throttled because the table exceeded its size limit.
storageThrottleCount
- the value to setpublic TableUsageSummary.Builder maxShardSizeUsageInPercent(Integer maxShardSizeUsageInPercent)
The percentage of allowed per-shard usage for the table shard with the highest usage.
maxShardSizeUsageInPercent
- the value to setpublic TableUsageSummary.Builder timeStarted(Date timeStarted)
The time stamp of this usage record.
timeStarted
- the value to setpublic TableUsageSummary build()
public TableUsageSummary.Builder copy(TableUsageSummary model)
Copyright © 2016–2024. All rights reserved.