@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class AwrDatabaseMetricSummary extends ExplicitlySetBmcModel
The summary of the AWR metric data for a particular metric at a specific time.
Note: Objects should always be created or deserialized using the AwrDatabaseMetricSummary.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 AwrDatabaseMetricSummary.Builder
, which maintain a set of all explicitly set fields called
ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
ExplicitlySetBmcModel.__explicitlySet__
into account. The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
AwrDatabaseMetricSummary.Builder |
Constructor and Description |
---|
AwrDatabaseMetricSummary(String name,
Date timestamp,
Double avgValue,
Double minValue,
Double maxValue)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AwrDatabaseMetricSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Double |
getAvgValue()
The average value of the sampling period.
|
Double |
getMaxValue()
The maximum value of the sampling period.
|
Double |
getMinValue()
The minimum value of the sampling period.
|
String |
getName()
The name of the metric.
|
Date |
getTimestamp()
The time of the sampling.
|
int |
hashCode() |
AwrDatabaseMetricSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"name","timestamp","avgValue","minValue","maxValue"}) public AwrDatabaseMetricSummary(String name, Date timestamp, Double avgValue, Double minValue, Double maxValue)
public static AwrDatabaseMetricSummary.Builder builder()
Create a new builder.
public AwrDatabaseMetricSummary.Builder toBuilder()
public String getName()
The name of the metric.
public Date getTimestamp()
The time of the sampling.
public Double getAvgValue()
The average value of the sampling period.
public Double getMinValue()
The minimum value of the sampling period.
public Double getMaxValue()
The maximum value of the sampling period.
public String toString()
toString
in class 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 ExplicitlySetBmcModel
public int hashCode()
hashCode
in class ExplicitlySetBmcModel
Copyright © 2016–2023. All rights reserved.