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