Package com.oracle.bmc.database.model
Class DatabaseUpgradeHistoryEntrySummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.database.model.DatabaseUpgradeHistoryEntrySummary.Builder
 
- 
- Enclosing class:
- DatabaseUpgradeHistoryEntrySummary
 
 public static class DatabaseUpgradeHistoryEntrySummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
idpublic DatabaseUpgradeHistoryEntrySummary.Builder id(String id) The OCID of the database upgrade history.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
actionpublic DatabaseUpgradeHistoryEntrySummary.Builder action(DatabaseUpgradeHistoryEntrySummary.Action action) The database upgrade action.- Parameters:
- action- the value to set
- Returns:
- this builder
 
 - 
sourcepublic DatabaseUpgradeHistoryEntrySummary.Builder source(DatabaseUpgradeHistoryEntrySummary.Source source) The source of the Oracle Database software to be used for the upgrade.- Use 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. - Use DB_VERSION to specify a generally-available Oracle Database software version to upgrade the database. - Use DB_SOFTWARE_IMAGE to specify a database software image to upgrade the database.
 - Parameters:
- source- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic DatabaseUpgradeHistoryEntrySummary.Builder lifecycleState(DatabaseUpgradeHistoryEntrySummary.LifecycleState lifecycleState) Status of database upgrade history SUCCEEDED|IN_PROGRESS|FAILED.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic DatabaseUpgradeHistoryEntrySummary.Builder lifecycleDetails(String lifecycleDetails) Additional information about the current lifecycle state.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
targetDBVersionpublic DatabaseUpgradeHistoryEntrySummary.Builder targetDBVersion(String targetDBVersion) A valid Oracle Database version.For a list of supported versions, use the ListDbVersions operation. This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier. - Parameters:
- targetDBVersion- the value to set
- Returns:
- this builder
 
 - 
targetDatabaseSoftwareImageIdpublic DatabaseUpgradeHistoryEntrySummary.Builder targetDatabaseSoftwareImageId(String targetDatabaseSoftwareImageId) the database software image used for upgrading database.- Parameters:
- targetDatabaseSoftwareImageId- the value to set
- Returns:
- this builder
 
 - 
targetDbHomeIdpublic DatabaseUpgradeHistoryEntrySummary.Builder targetDbHomeId(String targetDbHomeId) The OCID of the Database Home.- Parameters:
- targetDbHomeId- the value to set
- Returns:
- this builder
 
 - 
sourceDbHomeIdpublic DatabaseUpgradeHistoryEntrySummary.Builder sourceDbHomeId(String sourceDbHomeId) The OCID of the Database Home.- Parameters:
- sourceDbHomeId- the value to set
- Returns:
- this builder
 
 - 
timeStartedpublic DatabaseUpgradeHistoryEntrySummary.Builder timeStarted(Date timeStarted) The date and time when the database upgrade started.- Parameters:
- timeStarted- the value to set
- Returns:
- this builder
 
 - 
timeEndedpublic DatabaseUpgradeHistoryEntrySummary.Builder timeEnded(Date timeEnded) The date and time when the database upgrade ended.- Parameters:
- timeEnded- the value to set
- Returns:
- this builder
 
 - 
optionspublic DatabaseUpgradeHistoryEntrySummary.Builder options(String options) Additional upgrade options supported by DBUA(Database Upgrade Assistant).Example: “-upgradeTimezone false -keepEvents” - Parameters:
- options- the value to set
- Returns:
- this builder
 
 - 
buildpublic DatabaseUpgradeHistoryEntrySummary build() 
 - 
copypublic DatabaseUpgradeHistoryEntrySummary.Builder copy(DatabaseUpgradeHistoryEntrySummary model) 
 
- 
 
-