public static class AwrDatabaseSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AwrDatabaseSummary.Builder |
awrSourceDatabaseIdentifier(String awrSourceDatabaseIdentifier)
The internal ID of the database.
|
AwrDatabaseSummary |
build() |
AwrDatabaseSummary.Builder |
copy(AwrDatabaseSummary model) |
AwrDatabaseSummary.Builder |
dbName(String dbName)
The name of the database.
|
AwrDatabaseSummary.Builder |
dbVersion(String dbVersion)
The version of the database.
|
AwrDatabaseSummary.Builder |
firstSnapshotIdentifier(Integer firstSnapshotIdentifier)
The ID of the earliest snapshot.
|
AwrDatabaseSummary.Builder |
instanceList(List<Integer> instanceList)
The database instance numbers.
|
AwrDatabaseSummary.Builder |
latestSnapshotIdentifier(Integer latestSnapshotIdentifier)
The ID of the latest snapshot.
|
AwrDatabaseSummary.Builder |
snapshotCount(Long snapshotCount)
The total number of snapshots.
|
AwrDatabaseSummary.Builder |
snapshotIntervalInMin(Integer snapshotIntervalInMin)
The interval time between snapshots (in minutes).
|
AwrDatabaseSummary.Builder |
snapshotTimezone(String snapshotTimezone)
The time zone of the snapshot.
|
AwrDatabaseSummary.Builder |
timeDbStartup(Date timeDbStartup)
The timestamp of the database startup.
|
AwrDatabaseSummary.Builder |
timeFirstSnapshotBegin(Date timeFirstSnapshotBegin)
The start time of the earliest snapshot.
|
AwrDatabaseSummary.Builder |
timeLatestSnapshotEnd(Date timeLatestSnapshotEnd)
The end time of the latest snapshot.
|
public AwrDatabaseSummary.Builder awrSourceDatabaseIdentifier(String awrSourceDatabaseIdentifier)
The 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 AwrDatabaseSummary.Builder dbName(String dbName)
The name of the database.
dbName
- the value to setpublic AwrDatabaseSummary.Builder instanceList(List<Integer> instanceList)
The database instance numbers.
instanceList
- the value to setpublic AwrDatabaseSummary.Builder timeDbStartup(Date timeDbStartup)
The timestamp of the database startup.
timeDbStartup
- the value to setpublic AwrDatabaseSummary.Builder timeFirstSnapshotBegin(Date timeFirstSnapshotBegin)
The start time of the earliest snapshot.
timeFirstSnapshotBegin
- the value to setpublic AwrDatabaseSummary.Builder timeLatestSnapshotEnd(Date timeLatestSnapshotEnd)
The end time of the latest snapshot.
timeLatestSnapshotEnd
- the value to setpublic AwrDatabaseSummary.Builder firstSnapshotIdentifier(Integer firstSnapshotIdentifier)
The ID of the earliest snapshot. The snapshot identifier is not the OCID. It can be retrieved from the following endpoint: /awrHubs/{awrHubId}/awrDatabaseSnapshots
firstSnapshotIdentifier
- the value to setpublic AwrDatabaseSummary.Builder latestSnapshotIdentifier(Integer latestSnapshotIdentifier)
The ID of the latest snapshot. The snapshot identifier is not the OCID. It can be retrieved from the following endpoint: /awrHubs/{awrHubId}/awrDatabaseSnapshots
latestSnapshotIdentifier
- the value to setpublic AwrDatabaseSummary.Builder snapshotCount(Long snapshotCount)
The total number of snapshots.
snapshotCount
- the value to setpublic AwrDatabaseSummary.Builder snapshotIntervalInMin(Integer snapshotIntervalInMin)
The interval time between snapshots (in minutes).
snapshotIntervalInMin
- the value to setpublic AwrDatabaseSummary.Builder dbVersion(String dbVersion)
The version of the database.
dbVersion
- the value to setpublic AwrDatabaseSummary.Builder snapshotTimezone(String snapshotTimezone)
The time zone of the snapshot. sample - snapshotTimezone=+0 00:00:00
snapshotTimezone
- the value to setpublic AwrDatabaseSummary build()
public AwrDatabaseSummary.Builder copy(AwrDatabaseSummary model)
Copyright © 2016–2024. All rights reserved.