@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class AwrSourceSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Summary of an AwrSource.
Note: Objects should always be created or deserialized using the AwrSourceSummary.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 AwrSourceSummary.Builder
, which maintain a
set of all explicitly set fields called AwrSourceSummary.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 |
AwrSourceSummary.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
AwrSourceSummary(String awrHubId,
String name,
String awrSourceDatabaseId,
BigDecimal snapshotsUploaded,
BigDecimal minSnapshotIdentifier,
BigDecimal maxSnapshotIdentifier,
Date timeFirstSnapshotGenerated,
Date timeLastSnapshotGenerated,
Double hoursSinceLastImport)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AwrSourceSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getAwrHubId()
AWR Hub OCID
|
String |
getAwrSourceDatabaseId()
DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
|
Double |
getHoursSinceLastImport()
Number of hours since last AWR snapshots import happened from the Source database.
|
BigDecimal |
getMaxSnapshotIdentifier()
The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR
Hub.
|
BigDecimal |
getMinSnapshotIdentifier()
The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR
Hub.
|
String |
getName()
Database name of the Source database for which AWR Data will be uploaded to AWR Hub.
|
BigDecimal |
getSnapshotsUploaded()
Number of AWR snapshots uploaded from the Source database.
|
Date |
getTimeFirstSnapshotGenerated()
The time at which the earliest snapshot was generated in the source database for which data
is uploaded to AWR Hub.
|
Date |
getTimeLastSnapshotGenerated()
The time at which the latest snapshot was generated in the source database for which data is
uploaded to AWR Hub.
|
int |
hashCode() |
AwrSourceSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"awrHubId","name","awrSourceDatabaseId","snapshotsUploaded","minSnapshotIdentifier","maxSnapshotIdentifier","timeFirstSnapshotGenerated","timeLastSnapshotGenerated","hoursSinceLastImport"}) public AwrSourceSummary(String awrHubId, String name, String awrSourceDatabaseId, BigDecimal snapshotsUploaded, BigDecimal minSnapshotIdentifier, BigDecimal maxSnapshotIdentifier, Date timeFirstSnapshotGenerated, Date timeLastSnapshotGenerated, Double hoursSinceLastImport)
public static AwrSourceSummary.Builder builder()
Create a new builder.
public AwrSourceSummary.Builder toBuilder()
public String getAwrHubId()
AWR Hub OCID
public String getName()
Database name of the Source database for which AWR Data will be uploaded to AWR Hub.
public String getAwrSourceDatabaseId()
DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
public BigDecimal getSnapshotsUploaded()
Number of AWR snapshots uploaded from the Source database.
public BigDecimal getMinSnapshotIdentifier()
The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
public BigDecimal getMaxSnapshotIdentifier()
The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
public Date getTimeFirstSnapshotGenerated()
The time at which the earliest snapshot was generated in the source database for which data is uploaded to AWR Hub. An RFC3339 formatted datetime string
public Date getTimeLastSnapshotGenerated()
The time at which the latest snapshot was generated in the source database for which data is uploaded to AWR Hub. An RFC3339 formatted datetime string
public Double getHoursSinceLastImport()
Number of hours since last AWR snapshots import happened from the Source database.
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.