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 TableUsageSummarybuild()TableUsageSummary.Buildercopy(TableUsageSummary model)TableUsageSummary.BuildermaxShardSizeUsageInPercent(Integer maxShardSizeUsageInPercent)The percentage of allowed per-shard usage for the table shard with the highest usage.TableUsageSummary.BuilderreadThrottleCount(Integer readThrottleCount)The number of times reads were throttled due to exceeding the read throughput limit.TableUsageSummary.BuilderreadUnits(Integer readUnits)Read throughput during the sampling period.TableUsageSummary.BuildersecondsInPeriod(Integer secondsInPeriod)The length of the sampling period.TableUsageSummary.BuilderstorageInGBs(Integer storageInGBs)The size of the table, in GB.TableUsageSummary.BuilderstorageThrottleCount(Integer storageThrottleCount)The number of times writes were throttled because the table exceeded its size limit.TableUsageSummary.BuildertimeStarted(Date timeStarted)The time stamp of this usage record.TableUsageSummary.BuilderwriteThrottleCount(Integer writeThrottleCount)The number of times writes were throttled due to exceeding the write throughput limit.TableUsageSummary.BuilderwriteUnits(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)
-
-