public static class DbSystemUpgradeHistoryEntrySummary.Builder extends Object
Constructor and Description |
---|
Builder() |
public DbSystemUpgradeHistoryEntrySummary.Builder id(String id)
The OCID of the upgrade history entry.
id
- the value to setpublic DbSystemUpgradeHistoryEntrySummary.Builder action(DbSystemUpgradeHistoryEntrySummary.Action action)
The operating system upgrade action.
action
- the value to setpublic DbSystemUpgradeHistoryEntrySummary.Builder newGiVersion(String newGiVersion)
A valid Oracle Grid Infrastructure (GI) software version.
newGiVersion
- the value to setpublic DbSystemUpgradeHistoryEntrySummary.Builder oldGiVersion(String oldGiVersion)
A valid Oracle Grid Infrastructure (GI) software version.
oldGiVersion
- the value to setpublic DbSystemUpgradeHistoryEntrySummary.Builder oldOsVersion(String oldOsVersion)
A valid Oracle Software (OS) version eg. Oracle Linux Server release 8
oldOsVersion
- the value to setpublic DbSystemUpgradeHistoryEntrySummary.Builder newOsVersion(String newOsVersion)
A valid Oracle Software (OS) version eg. Oracle Linux Server release 8
newOsVersion
- the value to setpublic DbSystemUpgradeHistoryEntrySummary.Builder snapshotRetentionPeriodInDays(Integer snapshotRetentionPeriodInDays)
The retention period, in days, for the snapshot that allows you to perform a rollback of the upgrade operation. After this number of days passes, you cannot roll back the upgrade.
snapshotRetentionPeriodInDays
- the value to setpublic DbSystemUpgradeHistoryEntrySummary.Builder lifecycleState(DbSystemUpgradeHistoryEntrySummary.LifecycleState lifecycleState)
The current state of the action.
lifecycleState
- the value to setpublic DbSystemUpgradeHistoryEntrySummary.Builder lifecycleDetails(String lifecycleDetails)
A descriptive text associated with the lifecycleState. Typically contains additional displayable text.
lifecycleDetails
- the value to setpublic DbSystemUpgradeHistoryEntrySummary.Builder timeStarted(Date timeStarted)
The date and time when the upgrade action started.
timeStarted
- the value to setpublic DbSystemUpgradeHistoryEntrySummary.Builder timeEnded(Date timeEnded)
The date and time when the upgrade action completed
timeEnded
- the value to setpublic DbSystemUpgradeHistoryEntrySummary build()
public DbSystemUpgradeHistoryEntrySummary.Builder copy(DbSystemUpgradeHistoryEntrySummary model)
Copyright © 2016–2024. All rights reserved.