public static class AwrDbSnapshotSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AwrDbSnapshotSummary.Builder |
awrDbId(String awrDbId)
Internal ID of the database.
|
AwrDbSnapshotSummary |
build() |
AwrDbSnapshotSummary.Builder |
copy(AwrDbSnapshotSummary model) |
AwrDbSnapshotSummary.Builder |
errorCount(Long errorCount)
The total number of errors.
|
AwrDbSnapshotSummary.Builder |
instanceNumber(Integer instanceNumber)
The database instance number.
|
AwrDbSnapshotSummary.Builder |
snapshotId(Integer snapshotId)
The ID of the snapshot.
|
AwrDbSnapshotSummary.Builder |
timeBegin(Date timeBegin)
The start time of the snapshot.
|
AwrDbSnapshotSummary.Builder |
timeDbStartup(Date timeDbStartup)
The timestamp of the database startup.
|
AwrDbSnapshotSummary.Builder |
timeEnd(Date timeEnd)
The end time of the snapshot.
|
public AwrDbSnapshotSummary.Builder awrDbId(String awrDbId)
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
awrDbId
- the value to setpublic AwrDbSnapshotSummary.Builder instanceNumber(Integer instanceNumber)
The database instance number.
instanceNumber
- the value to setpublic AwrDbSnapshotSummary.Builder timeDbStartup(Date timeDbStartup)
The timestamp of the database startup.
timeDbStartup
- the value to setpublic AwrDbSnapshotSummary.Builder timeBegin(Date timeBegin)
The start time of the snapshot.
timeBegin
- the value to setpublic AwrDbSnapshotSummary.Builder timeEnd(Date timeEnd)
The end time of the snapshot.
timeEnd
- the value to setpublic AwrDbSnapshotSummary.Builder snapshotId(Integer snapshotId)
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
snapshotId
- the value to setpublic AwrDbSnapshotSummary.Builder errorCount(Long errorCount)
The total number of errors.
errorCount
- the value to setpublic AwrDbSnapshotSummary build()
public AwrDbSnapshotSummary.Builder copy(AwrDbSnapshotSummary model)
Copyright © 2016–2024. All rights reserved.