Package com.oracle.bmc.nosql.model
Class TableUsageSummary
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.nosql.model.TableUsageSummary
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20190828") public final class TableUsageSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelTableUsageSummary represents a single usage record, or slice, that includes information about read and write throughput consumed during that period as well as the current information regarding storage capacity.In addition the count of throttling exceptions for the period is reported. 
 Note: Objects should always be created or deserialized using theTableUsageSummary.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theTableUsageSummary.Builder, which maintain a set of all explicitly set fields calledTableUsageSummary.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classTableUsageSummary.Builder
 - 
Constructor SummaryConstructors Constructor Description TableUsageSummary(Integer secondsInPeriod, Integer readUnits, Integer writeUnits, Integer storageInGBs, Integer readThrottleCount, Integer writeThrottleCount, Integer storageThrottleCount, Integer maxShardSizeUsageInPercent, Date timeStarted)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TableUsageSummary.Builderbuilder()Create a new builder.booleanequals(Object o)IntegergetMaxShardSizeUsageInPercent()The percentage of allowed per-shard usage for the table shard with the highest usage.IntegergetReadThrottleCount()The number of times reads were throttled due to exceeding the read throughput limit.IntegergetReadUnits()Read throughput during the sampling period.IntegergetSecondsInPeriod()The length of the sampling period.IntegergetStorageInGBs()The size of the table, in GB.IntegergetStorageThrottleCount()The number of times writes were throttled because the table exceeded its size limit.DategetTimeStarted()The time stamp of this usage record.IntegergetWriteThrottleCount()The number of times writes were throttled due to exceeding the write throughput limit.IntegergetWriteUnits()Write throughput during the sampling period.inthashCode()TableUsageSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
TableUsageSummary@Deprecated @ConstructorProperties({"secondsInPeriod","readUnits","writeUnits","storageInGBs","readThrottleCount","writeThrottleCount","storageThrottleCount","maxShardSizeUsageInPercent","timeStarted"}) public TableUsageSummary(Integer secondsInPeriod, Integer readUnits, Integer writeUnits, Integer storageInGBs, Integer readThrottleCount, Integer writeThrottleCount, Integer storageThrottleCount, Integer maxShardSizeUsageInPercent, Date timeStarted) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static TableUsageSummary.Builder builder() Create a new builder.
 - 
toBuilderpublic TableUsageSummary.Builder toBuilder() 
 - 
getSecondsInPeriodpublic Integer getSecondsInPeriod() The length of the sampling period.- Returns:
- the value
 
 - 
getReadUnitspublic Integer getReadUnits() Read throughput during the sampling period.- Returns:
- the value
 
 - 
getWriteUnitspublic Integer getWriteUnits() Write throughput during the sampling period.- Returns:
- the value
 
 - 
getStorageInGBspublic Integer getStorageInGBs() The size of the table, in GB.- Returns:
- the value
 
 - 
getReadThrottleCountpublic Integer getReadThrottleCount() The number of times reads were throttled due to exceeding the read throughput limit.- Returns:
- the value
 
 - 
getWriteThrottleCountpublic Integer getWriteThrottleCount() The number of times writes were throttled due to exceeding the write throughput limit.- Returns:
- the value
 
 - 
getStorageThrottleCountpublic Integer getStorageThrottleCount() The number of times writes were throttled because the table exceeded its size limit.- Returns:
- the value
 
 - 
getMaxShardSizeUsageInPercentpublic Integer getMaxShardSizeUsageInPercent() The percentage of allowed per-shard usage for the table shard with the highest usage.- Returns:
- the value
 
 - 
getTimeStartedpublic Date getTimeStarted() The time stamp of this usage record.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-