@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class AwrDbSnapshotSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The AWR snapshot summary of one snapshot.
Note: Objects should always be created or deserialized using the AwrDbSnapshotSummary.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 AwrDbSnapshotSummary.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 |
AwrDbSnapshotSummary.Builder |
Constructor and Description |
---|
AwrDbSnapshotSummary(String awrDbId,
Integer instanceNumber,
Date timeDbStartup,
Date timeBegin,
Date timeEnd,
Integer snapshotId,
Long errorCount)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AwrDbSnapshotSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getAwrDbId()
Internal ID of the database.
|
Long |
getErrorCount()
The total number of errors.
|
Integer |
getInstanceNumber()
The database instance number.
|
Integer |
getSnapshotId()
The ID of the snapshot.
|
Date |
getTimeBegin()
The start time of the snapshot.
|
Date |
getTimeDbStartup()
The timestamp of the database startup.
|
Date |
getTimeEnd()
The end time of the snapshot.
|
int |
hashCode() |
AwrDbSnapshotSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"awrDbId","instanceNumber","timeDbStartup","timeBegin","timeEnd","snapshotId","errorCount"}) public AwrDbSnapshotSummary(String awrDbId, Integer instanceNumber, Date timeDbStartup, Date timeBegin, Date timeEnd, Integer snapshotId, Long errorCount)
public static AwrDbSnapshotSummary.Builder builder()
Create a new builder.
public AwrDbSnapshotSummary.Builder toBuilder()
public String getAwrDbId()
Internal ID of the database. The internal ID of the database is not the OCID. It can be retrieved from the following endpoint: /managedDatabases/{managedDatabaseId}/awrDbs
public Integer getInstanceNumber()
The database instance number.
public Date getTimeDbStartup()
The timestamp of the database startup.
public Date getTimeBegin()
The start time of the snapshot.
public Date getTimeEnd()
The end time of the snapshot.
public Integer getSnapshotId()
The ID of the snapshot. The snapshot ID is not the OCID. It can be retrieved from the following endpoint: /managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbSnapshots
public Long getErrorCount()
The total number of errors.
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–2023. All rights reserved.