Class DbSystemUpgradeHistoryEntry
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.database.model.DbSystemUpgradeHistoryEntry
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class DbSystemUpgradeHistoryEntry extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe record of an OS upgrade action on a DB system.*Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. 
 Note: Objects should always be created or deserialized using theDbSystemUpgradeHistoryEntry.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theDbSystemUpgradeHistoryEntry.Builder, which maintain a set of all explicitly set fields calledDbSystemUpgradeHistoryEntry.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classDbSystemUpgradeHistoryEntry.ActionThe operating system upgrade action.static classDbSystemUpgradeHistoryEntry.Builderstatic classDbSystemUpgradeHistoryEntry.LifecycleStateThe current state of the action.
 - 
Constructor SummaryConstructors Constructor Description DbSystemUpgradeHistoryEntry(String id, DbSystemUpgradeHistoryEntry.Action action, String newGiVersion, String oldGiVersion, String oldOsVersion, String newOsVersion, Integer snapshotRetentionPeriodInDays, DbSystemUpgradeHistoryEntry.LifecycleState lifecycleState, String lifecycleDetails, Date timeStarted, Date timeEnded)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DbSystemUpgradeHistoryEntry.Builderbuilder()Create a new builder.booleanequals(Object o)DbSystemUpgradeHistoryEntry.ActiongetAction()The operating system upgrade action.StringgetId()The OCID of the upgrade history entry.StringgetLifecycleDetails()A descriptive text associated with the lifecycleState.DbSystemUpgradeHistoryEntry.LifecycleStategetLifecycleState()The current state of the action.StringgetNewGiVersion()A valid Oracle Grid Infrastructure (GI) software version.StringgetNewOsVersion()A valid Oracle Software (OS) version eg.StringgetOldGiVersion()A valid Oracle Grid Infrastructure (GI) software version.StringgetOldOsVersion()A valid Oracle Software (OS) version eg.IntegergetSnapshotRetentionPeriodInDays()The retention period, in days, for the snapshot that allows you to perform a rollback of the upgrade operation.DategetTimeEnded()The date and time when the upgrade action completedDategetTimeStarted()The date and time when the upgrade action started.inthashCode()DbSystemUpgradeHistoryEntry.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
DbSystemUpgradeHistoryEntry@Deprecated @ConstructorProperties({"id","action","newGiVersion","oldGiVersion","oldOsVersion","newOsVersion","snapshotRetentionPeriodInDays","lifecycleState","lifecycleDetails","timeStarted","timeEnded"}) public DbSystemUpgradeHistoryEntry(String id, DbSystemUpgradeHistoryEntry.Action action, String newGiVersion, String oldGiVersion, String oldOsVersion, String newOsVersion, Integer snapshotRetentionPeriodInDays, DbSystemUpgradeHistoryEntry.LifecycleState lifecycleState, String lifecycleDetails, Date timeStarted, Date timeEnded) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static DbSystemUpgradeHistoryEntry.Builder builder() Create a new builder.
 - 
toBuilderpublic DbSystemUpgradeHistoryEntry.Builder toBuilder() 
 - 
getActionpublic DbSystemUpgradeHistoryEntry.Action getAction() The operating system upgrade action.- Returns:
- the value
 
 - 
getNewGiVersionpublic String getNewGiVersion() A valid Oracle Grid Infrastructure (GI) software version.- Returns:
- the value
 
 - 
getOldGiVersionpublic String getOldGiVersion() A valid Oracle Grid Infrastructure (GI) software version.- Returns:
- the value
 
 - 
getOldOsVersionpublic String getOldOsVersion() A valid Oracle Software (OS) version eg.Oracle Linux Server release 8 - Returns:
- the value
 
 - 
getNewOsVersionpublic String getNewOsVersion() A valid Oracle Software (OS) version eg.Oracle Linux Server release 8 - Returns:
- the value
 
 - 
getSnapshotRetentionPeriodInDayspublic Integer getSnapshotRetentionPeriodInDays() 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. - Returns:
- the value
 
 - 
getLifecycleStatepublic DbSystemUpgradeHistoryEntry.LifecycleState getLifecycleState() The current state of the action.- Returns:
- the value
 
 - 
getLifecycleDetailspublic String getLifecycleDetails() A descriptive text associated with the lifecycleState.Typically contains additional displayable text. - Returns:
- the value
 
 - 
getTimeStartedpublic Date getTimeStarted() The date and time when the upgrade action started.- Returns:
- the value
 
 - 
getTimeEndedpublic Date getTimeEnded() The date and time when the upgrade action completed- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-