@Generated(value="OracleSDKGenerator", comments="API Version: 20190828") public final class TableUsageSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
TableUsageSummary 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 the TableUsageSummary.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 the TableUsageSummary.Builder
, which maintain a
set of all explicitly set fields called TableUsageSummary.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
TableUsageSummary.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
TableUsageSummary(Integer secondsInPeriod,
Integer readUnits,
Integer writeUnits,
Integer storageInGBs,
Integer readThrottleCount,
Integer writeThrottleCount,
Integer storageThrottleCount,
Integer maxShardSizeUsageInPercent,
Date timeStarted)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static TableUsageSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Integer |
getMaxShardSizeUsageInPercent()
The percentage of allowed per-shard usage for the table shard with the highest usage.
|
Integer |
getReadThrottleCount()
The number of times reads were throttled due to exceeding the read throughput limit.
|
Integer |
getReadUnits()
Read throughput during the sampling period.
|
Integer |
getSecondsInPeriod()
The length of the sampling period.
|
Integer |
getStorageInGBs()
The size of the table, in GB.
|
Integer |
getStorageThrottleCount()
The number of times writes were throttled because the table exceeded its size limit.
|
Date |
getTimeStarted()
The time stamp of this usage record.
|
Integer |
getWriteThrottleCount()
The number of times writes were throttled due to exceeding the write throughput limit.
|
Integer |
getWriteUnits()
Write throughput during the sampling period.
|
int |
hashCode() |
TableUsageSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static TableUsageSummary.Builder builder()
Create a new builder.
public TableUsageSummary.Builder toBuilder()
public Integer getSecondsInPeriod()
The length of the sampling period.
public Integer getReadUnits()
Read throughput during the sampling period.
public Integer getWriteUnits()
Write throughput during the sampling period.
public Integer getStorageInGBs()
The size of the table, in GB.
public Integer getReadThrottleCount()
The number of times reads were throttled due to exceeding the read throughput limit.
public Integer getWriteThrottleCount()
The number of times writes were throttled due to exceeding the write throughput limit.
public Integer getStorageThrottleCount()
The number of times writes were throttled because the table exceeded its size limit.
public Integer getMaxShardSizeUsageInPercent()
The percentage of allowed per-shard usage for the table shard with the highest usage.
public Date getTimeStarted()
The time stamp of this usage record.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.