@Generated(value="OracleSDKGenerator", comments="API Version: 20190828") public final class TableUsageSummary extends Object
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.
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
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).Modifier and Type | Class and Description |
---|---|
static class |
TableUsageSummary.Builder |
Constructor and Description |
---|
TableUsageSummary(Integer secondsInPeriod,
Integer readUnits,
Integer writeUnits,
Integer storageInGBs,
Integer readThrottleCount,
Integer writeThrottleCount,
Integer storageThrottleCount)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static TableUsageSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
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.
|
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() |
@ConstructorProperties(value={"secondsInPeriod","readUnits","writeUnits","storageInGBs","readThrottleCount","writeThrottleCount","storageThrottleCount"}) @Deprecated public TableUsageSummary(Integer secondsInPeriod, Integer readUnits, Integer writeUnits, Integer storageInGBs, Integer readThrottleCount, Integer writeThrottleCount, Integer storageThrottleCount)
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.
Copyright © 2016–2021. All rights reserved.