public static class DatabaseUpgradeHistoryEntrySummary.Builder extends Object
Constructor and Description |
---|
Builder() |
public DatabaseUpgradeHistoryEntrySummary.Builder id(String id)
The OCID of the database upgrade history.
id
- the value to setpublic DatabaseUpgradeHistoryEntrySummary.Builder action(DatabaseUpgradeHistoryEntrySummary.Action action)
The database upgrade action.
action
- the value to setpublic DatabaseUpgradeHistoryEntrySummary.Builder source(DatabaseUpgradeHistoryEntrySummary.Source source)
The source of the Oracle Database software to be used for the upgrade.
DB_HOME
to specify an existing Database Home to upgrade the database. The database is moved to the target Database Home and makes use of the Oracle Database software version of the target Database Home.DB_VERSION
to specify a generally-available Oracle Database software version to upgrade the database.DB_SOFTWARE_IMAGE
to specify a database software image to upgrade the database.source
- the value to setpublic DatabaseUpgradeHistoryEntrySummary.Builder lifecycleState(DatabaseUpgradeHistoryEntrySummary.LifecycleState lifecycleState)
Status of database upgrade history SUCCEEDED|IN_PROGRESS|FAILED.
lifecycleState
- the value to setpublic DatabaseUpgradeHistoryEntrySummary.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.
lifecycleDetails
- the value to setpublic DatabaseUpgradeHistoryEntrySummary.Builder targetDBVersion(String targetDBVersion)
A valid Oracle Database version. To get a list of supported versions, use the listDbVersions
operation.
targetDBVersion
- the value to setpublic DatabaseUpgradeHistoryEntrySummary.Builder targetDatabaseSoftwareImageId(String targetDatabaseSoftwareImageId)
the database software image used for upgrading database.
targetDatabaseSoftwareImageId
- the value to setpublic DatabaseUpgradeHistoryEntrySummary.Builder targetDbHomeId(String targetDbHomeId)
The OCID of the Database Home.
targetDbHomeId
- the value to setpublic DatabaseUpgradeHistoryEntrySummary.Builder sourceDbHomeId(String sourceDbHomeId)
The OCID of the Database Home.
sourceDbHomeId
- the value to setpublic DatabaseUpgradeHistoryEntrySummary.Builder timeStarted(Date timeStarted)
The date and time when the database upgrade started.
timeStarted
- the value to setpublic DatabaseUpgradeHistoryEntrySummary.Builder timeEnded(Date timeEnded)
The date and time when the database upgrade ended.
timeEnded
- the value to setpublic DatabaseUpgradeHistoryEntrySummary.Builder options(String options)
Additional upgrade options supported by DBUA(Database Upgrade Assistant). Example: “-upgradeTimezone false -keepEvents”
options
- the value to setpublic DatabaseUpgradeHistoryEntrySummary build()
public DatabaseUpgradeHistoryEntrySummary.Builder copy(DatabaseUpgradeHistoryEntrySummary o)
Copyright © 2016–2022. All rights reserved.