@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class AwrDatabaseMetricSummary extends com.oracle.bmc.http.client.internal.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 AwrDatabaseMetricSummary.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 |
AwrDatabaseMetricSummary.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
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 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.