Package com.oracle.bmc.database.model
Class DbSystemUpgradeHistoryEntrySummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.database.model.DbSystemUpgradeHistoryEntrySummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class DbSystemUpgradeHistoryEntrySummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe summary for the record of an OS upgrade action on a DB system.
Note: Objects should always be created or deserialized using theDbSystemUpgradeHistoryEntrySummary.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 theDbSystemUpgradeHistoryEntrySummary.Builder, which maintain a set of all explicitly set fields calledDbSystemUpgradeHistoryEntrySummary.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 classDbSystemUpgradeHistoryEntrySummary.ActionThe operating system upgrade action.static classDbSystemUpgradeHistoryEntrySummary.Builderstatic classDbSystemUpgradeHistoryEntrySummary.LifecycleStateThe current state of the action.
-
Constructor Summary
Constructors Constructor Description DbSystemUpgradeHistoryEntrySummary(String id, DbSystemUpgradeHistoryEntrySummary.Action action, String newGiVersion, String oldGiVersion, String oldOsVersion, String newOsVersion, Integer snapshotRetentionPeriodInDays, DbSystemUpgradeHistoryEntrySummary.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 DbSystemUpgradeHistoryEntrySummary.Builderbuilder()Create a new builder.booleanequals(Object o)DbSystemUpgradeHistoryEntrySummary.ActiongetAction()The operating system upgrade action.StringgetId()The OCID of the upgrade history entry.StringgetLifecycleDetails()A descriptive text associated with the lifecycleState.DbSystemUpgradeHistoryEntrySummary.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()DbSystemUpgradeHistoryEntrySummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
DbSystemUpgradeHistoryEntrySummary
@Deprecated @ConstructorProperties({"id","action","newGiVersion","oldGiVersion","oldOsVersion","newOsVersion","snapshotRetentionPeriodInDays","lifecycleState","lifecycleDetails","timeStarted","timeEnded"}) public DbSystemUpgradeHistoryEntrySummary(String id, DbSystemUpgradeHistoryEntrySummary.Action action, String newGiVersion, String oldGiVersion, String oldOsVersion, String newOsVersion, Integer snapshotRetentionPeriodInDays, DbSystemUpgradeHistoryEntrySummary.LifecycleState lifecycleState, String lifecycleDetails, Date timeStarted, Date timeEnded)
Deprecated.
-
-
Method Detail
-
builder
public static DbSystemUpgradeHistoryEntrySummary.Builder builder()
Create a new builder.
-
toBuilder
public DbSystemUpgradeHistoryEntrySummary.Builder toBuilder()
-
getAction
public DbSystemUpgradeHistoryEntrySummary.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 DbSystemUpgradeHistoryEntrySummary.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
-
-