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.ExplicitlySetBmcModel
The 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 class
DbSystemUpgradeHistoryEntry.Action
The operating system upgrade action.static class
DbSystemUpgradeHistoryEntry.Builder
static class
DbSystemUpgradeHistoryEntry.LifecycleState
The 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.Builder
builder()
Create a new builder.boolean
equals(Object o)
DbSystemUpgradeHistoryEntry.Action
getAction()
The operating system upgrade action.String
getId()
The OCID of the upgrade history entry.String
getLifecycleDetails()
A descriptive text associated with the lifecycleState.DbSystemUpgradeHistoryEntry.LifecycleState
getLifecycleState()
The current state of the action.String
getNewGiVersion()
A valid Oracle Grid Infrastructure (GI) software version.String
getNewOsVersion()
A valid Oracle Software (OS) version eg.String
getOldGiVersion()
A valid Oracle Grid Infrastructure (GI) software version.String
getOldOsVersion()
A valid Oracle Software (OS) version eg.Integer
getSnapshotRetentionPeriodInDays()
The retention period, in days, for the snapshot that allows you to perform a rollback of the upgrade operation.Date
getTimeEnded()
The date and time when the upgrade action completedDate
getTimeStarted()
The date and time when the upgrade action started.int
hashCode()
DbSystemUpgradeHistoryEntry.Builder
toBuilder()
String
toString()
String
toString(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:
toString
in 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:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-