public static class AwrDbSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AwrDbSummary.Builder |
awrDbId(String awrDbId)
The internal ID of the database.
|
AwrDbSummary |
build() |
AwrDbSummary.Builder |
containerId(Integer containerId)
ID of the database container.
|
AwrDbSummary.Builder |
copy(AwrDbSummary model) |
AwrDbSummary.Builder |
dbName(String dbName)
The name of the database.
|
AwrDbSummary.Builder |
dbVersion(String dbVersion)
The version of the database.
|
AwrDbSummary.Builder |
firstSnapshotId(Integer firstSnapshotId)
The ID of the earliest snapshot.
|
AwrDbSummary.Builder |
instanceList(List<Integer> instanceList)
The database instance numbers.
|
AwrDbSummary.Builder |
latestSnapshotId(Integer latestSnapshotId)
The ID of the latest snapshot.
|
AwrDbSummary.Builder |
snapshotCount(Long snapshotCount)
The total number of snapshots.
|
AwrDbSummary.Builder |
snapshotIntervalInMin(Integer snapshotIntervalInMin)
The interval time between snapshots (in minutes).
|
AwrDbSummary.Builder |
snapshotTimezone(String snapshotTimezone)
The time zone of the snapshot.
|
AwrDbSummary.Builder |
timeDbStartup(Date timeDbStartup)
The timestamp of the database startup.
|
AwrDbSummary.Builder |
timeFirstSnapshotBegin(Date timeFirstSnapshotBegin)
The start time of the earliest snapshot.
|
AwrDbSummary.Builder |
timeLatestSnapshotEnd(Date timeLatestSnapshotEnd)
The end time of the latest snapshot.
|
public AwrDbSummary.Builder awrDbId(String awrDbId)
The 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 AwrDbSummary.Builder dbName(String dbName)
The name of the database.
dbName
- the value to setpublic AwrDbSummary.Builder instanceList(List<Integer> instanceList)
The database instance numbers.
instanceList
- the value to setpublic AwrDbSummary.Builder timeDbStartup(Date timeDbStartup)
The timestamp of the database startup.
timeDbStartup
- the value to setpublic AwrDbSummary.Builder timeFirstSnapshotBegin(Date timeFirstSnapshotBegin)
The start time of the earliest snapshot.
timeFirstSnapshotBegin
- the value to setpublic AwrDbSummary.Builder timeLatestSnapshotEnd(Date timeLatestSnapshotEnd)
The end time of the latest snapshot.
timeLatestSnapshotEnd
- the value to setpublic AwrDbSummary.Builder firstSnapshotId(Integer firstSnapshotId)
The ID of the earliest snapshot. The snapshot ID is not the OCID. It can be retrieved from the following endpoint: /managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbSnapshots
firstSnapshotId
- the value to setpublic AwrDbSummary.Builder latestSnapshotId(Integer latestSnapshotId)
The ID of the latest snapshot. The snapshot ID is not the OCID. It can be retrieved from the following endpoint: /managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbSnapshots
latestSnapshotId
- the value to setpublic AwrDbSummary.Builder snapshotCount(Long snapshotCount)
The total number of snapshots.
snapshotCount
- the value to setpublic AwrDbSummary.Builder snapshotIntervalInMin(Integer snapshotIntervalInMin)
The interval time between snapshots (in minutes).
snapshotIntervalInMin
- the value to setpublic AwrDbSummary.Builder containerId(Integer containerId)
ID of the database container. The database container ID is not the OCID. It can be retrieved from the following endpoint: /managedDatabases/{managedDatabaseId}/awrDbSnapshotRanges
containerId
- the value to setpublic AwrDbSummary.Builder dbVersion(String dbVersion)
The version of the database.
dbVersion
- the value to setpublic AwrDbSummary.Builder snapshotTimezone(String snapshotTimezone)
The time zone of the snapshot.
snapshotTimezone
- the value to setpublic AwrDbSummary build()
public AwrDbSummary.Builder copy(AwrDbSummary model)
Copyright © 2016–2024. All rights reserved.