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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll 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- 
secondsInPeriodpublic TableUsageSummary.Builder secondsInPeriod(Integer secondsInPeriod) The length of the sampling period.- Parameters:
- secondsInPeriod- the value to set
- Returns:
- this builder
 
 - 
readUnitspublic TableUsageSummary.Builder readUnits(Integer readUnits) Read throughput during the sampling period.- Parameters:
- readUnits- the value to set
- Returns:
- this builder
 
 - 
writeUnitspublic TableUsageSummary.Builder writeUnits(Integer writeUnits) Write throughput during the sampling period.- Parameters:
- writeUnits- the value to set
- Returns:
- this builder
 
 - 
storageInGBspublic TableUsageSummary.Builder storageInGBs(Integer storageInGBs) The size of the table, in GB.- Parameters:
- storageInGBs- the value to set
- Returns:
- this builder
 
 - 
readThrottleCountpublic 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
 
 - 
writeThrottleCountpublic 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
 
 - 
storageThrottleCountpublic 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
 
 - 
maxShardSizeUsageInPercentpublic 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
 
 - 
timeStartedpublic TableUsageSummary.Builder timeStarted(Date timeStarted) The time stamp of this usage record.- Parameters:
- timeStarted- the value to set
- Returns:
- this builder
 
 - 
buildpublic TableUsageSummary build() 
 - 
copypublic TableUsageSummary.Builder copy(TableUsageSummary model) 
 
- 
 
-