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 Summary
Nested Classes Modifier and Type Class Description static classDbSystemUpgradeHistoryEntry.ActionThe operating system upgrade action.static classDbSystemUpgradeHistoryEntry.Builderstatic classDbSystemUpgradeHistoryEntry.LifecycleStateThe current state of the action.
-
Constructor Summary
Constructors 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 Summary
All 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
-
builder
public static DbSystemUpgradeHistoryEntry.Builder builder()
Create a new builder.
-
toBuilder
public DbSystemUpgradeHistoryEntry.Builder toBuilder()
-
getAction
public DbSystemUpgradeHistoryEntry.Action getAction()
The operating system upgrade action.- Returns:
- the value
-
getNewGiVersion
public String getNewGiVersion()
A valid Oracle Grid Infrastructure (GI) software version.- Returns:
- the value
-
getOldGiVersion
public String getOldGiVersion()
A valid Oracle Grid Infrastructure (GI) software version.- Returns:
- the value
-
getOldOsVersion
public String getOldOsVersion()
A valid Oracle Software (OS) version eg.Oracle Linux Server release 8
- Returns:
- the value
-
getNewOsVersion
public String getNewOsVersion()
A valid Oracle Software (OS) version eg.Oracle Linux Server release 8
- Returns:
- the value
-
getSnapshotRetentionPeriodInDays
public 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
-
getLifecycleState
public DbSystemUpgradeHistoryEntry.LifecycleState getLifecycleState()
The current state of the action.- Returns:
- the value
-
getLifecycleDetails
public String getLifecycleDetails()
A descriptive text associated with the lifecycleState.Typically contains additional displayable text.
- Returns:
- the value
-
getTimeStarted
public Date getTimeStarted()
The date and time when the upgrade action started.- Returns:
- the value
-
getTimeEnded
public Date getTimeEnded()
The date and time when the upgrade action completed- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public 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
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-