Package com.oracle.bmc.nosql.model
Class TableUsageSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.nosql.model.TableUsageSummary.Builder
-
- Enclosing class:
- TableUsageSummary
public static class TableUsageSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
secondsInPeriod
public TableUsageSummary.Builder secondsInPeriod(Integer secondsInPeriod)
The length of the sampling period.- Parameters:
secondsInPeriod
- the value to set- Returns:
- this builder
-
readUnits
public TableUsageSummary.Builder readUnits(Integer readUnits)
Read throughput during the sampling period.- Parameters:
readUnits
- the value to set- Returns:
- this builder
-
writeUnits
public TableUsageSummary.Builder writeUnits(Integer writeUnits)
Write throughput during the sampling period.- Parameters:
writeUnits
- the value to set- Returns:
- this builder
-
storageInGBs
public TableUsageSummary.Builder storageInGBs(Integer storageInGBs)
The size of the table, in GB.- Parameters:
storageInGBs
- the value to set- Returns:
- this builder
-
readThrottleCount
public TableUsageSummary.Builder readThrottleCount(Integer readThrottleCount)
The number of times reads were throttled due to exceeding the read throughput limit.- Parameters:
readThrottleCount
- the value to set- Returns:
- this builder
-
writeThrottleCount
public TableUsageSummary.Builder writeThrottleCount(Integer writeThrottleCount)
The number of times writes were throttled due to exceeding the write throughput limit.- Parameters:
writeThrottleCount
- the value to set- Returns:
- this builder
-
storageThrottleCount
public TableUsageSummary.Builder storageThrottleCount(Integer storageThrottleCount)
The number of times writes were throttled because the table exceeded its size limit.- Parameters:
storageThrottleCount
- the value to set- Returns:
- this builder
-
maxShardSizeUsageInPercent
public TableUsageSummary.Builder maxShardSizeUsageInPercent(Integer maxShardSizeUsageInPercent)
The percentage of allowed per-shard usage for the table shard with the highest usage.- Parameters:
maxShardSizeUsageInPercent
- the value to set- Returns:
- this builder
-
timeStarted
public TableUsageSummary.Builder timeStarted(Date timeStarted)
The time stamp of this usage record.- Parameters:
timeStarted
- the value to set- Returns:
- this builder
-
build
public TableUsageSummary build()
-
copy
public TableUsageSummary.Builder copy(TableUsageSummary model)
-
-