public static class AwrDatabaseSnapshotSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AwrDatabaseSnapshotSummary.Builder |
awrSourceDatabaseIdentifier(String awrSourceDatabaseIdentifier)
Internal ID of the database.
|
AwrDatabaseSnapshotSummary |
build() |
AwrDatabaseSnapshotSummary.Builder |
copy(AwrDatabaseSnapshotSummary model) |
AwrDatabaseSnapshotSummary.Builder |
errorCount(Long errorCount)
The total number of errors.
|
AwrDatabaseSnapshotSummary.Builder |
instanceNumber(Integer instanceNumber)
The database instance number.
|
AwrDatabaseSnapshotSummary.Builder |
snapshotIdentifier(Integer snapshotIdentifier)
The ID of the snapshot.
|
AwrDatabaseSnapshotSummary.Builder |
timeBegin(Date timeBegin)
The start time of the snapshot.
|
AwrDatabaseSnapshotSummary.Builder |
timeDbStartup(Date timeDbStartup)
The timestamp of the database startup.
|
AwrDatabaseSnapshotSummary.Builder |
timeEnd(Date timeEnd)
The end time of the snapshot.
|
public AwrDatabaseSnapshotSummary.Builder awrSourceDatabaseIdentifier(String awrSourceDatabaseIdentifier)
Internal ID of the database. The internal ID of the database is not the OCID. It can be retrieved from the following endpoint: /awrHubs/{awrHubId}/awrDatabases
awrSourceDatabaseIdentifier
- the value to setpublic AwrDatabaseSnapshotSummary.Builder instanceNumber(Integer instanceNumber)
The database instance number.
instanceNumber
- the value to setpublic AwrDatabaseSnapshotSummary.Builder timeDbStartup(Date timeDbStartup)
The timestamp of the database startup.
timeDbStartup
- the value to setpublic AwrDatabaseSnapshotSummary.Builder timeBegin(Date timeBegin)
The start time of the snapshot.
timeBegin
- the value to setpublic AwrDatabaseSnapshotSummary.Builder timeEnd(Date timeEnd)
The end time of the snapshot.
timeEnd
- the value to setpublic AwrDatabaseSnapshotSummary.Builder snapshotIdentifier(Integer snapshotIdentifier)
The ID of the snapshot. The snapshot identifier is not the OCID. It can be retrieved from the following endpoint: /awrHubs/{awrHubId}/awrDbSnapshots
snapshotIdentifier
- the value to setpublic AwrDatabaseSnapshotSummary.Builder errorCount(Long errorCount)
The total number of errors.
errorCount
- the value to setpublic AwrDatabaseSnapshotSummary build()
public AwrDatabaseSnapshotSummary.Builder copy(AwrDatabaseSnapshotSummary model)
Copyright © 2016–2024. All rights reserved.