Package com.oracle.bmc.database.model
Class DbSystemOsPatchHistoryEntrySummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.database.model.DbSystemOsPatchHistoryEntrySummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class DbSystemOsPatchHistoryEntrySummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe summary of an OS patch action history on a DB system.
Note: Objects should always be created or deserialized using theDbSystemOsPatchHistoryEntrySummary.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 theDbSystemOsPatchHistoryEntrySummary.Builder, which maintain a set of all explicitly set fields calledDbSystemOsPatchHistoryEntrySummary.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 classDbSystemOsPatchHistoryEntrySummary.ActionThe action being performed or was completed.static classDbSystemOsPatchHistoryEntrySummary.Builderstatic classDbSystemOsPatchHistoryEntrySummary.LifecycleStateThe current state of the action.
-
Constructor Summary
Constructors Constructor Description DbSystemOsPatchHistoryEntrySummary(DbSystemOsPatchHistoryEntrySummary.Action action, String dbSystemId, String id, DbSystemOsPatchHistoryEntrySummary.LifecycleState lifecycleState, String lifecycleDetails, DbSystemOsPatchDetailsCollection osPatchDetails, Date timeStarted, Date timeEnded)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DbSystemOsPatchHistoryEntrySummary.Builderbuilder()Create a new builder.booleanequals(Object o)DbSystemOsPatchHistoryEntrySummary.ActiongetAction()The action being performed or was completed.StringgetDbSystemId()The OCID of the DB system.StringgetId()The OCID of the OS patch history entry.StringgetLifecycleDetails()A descriptive text associated with the lifecycleState.DbSystemOsPatchHistoryEntrySummary.LifecycleStategetLifecycleState()The current state of the action.DbSystemOsPatchDetailsCollectiongetOsPatchDetails()DategetTimeEnded()The date and time when the patch action completedDategetTimeStarted()The date and time when the patch action started.inthashCode()DbSystemOsPatchHistoryEntrySummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
DbSystemOsPatchHistoryEntrySummary
@Deprecated @ConstructorProperties({"action","dbSystemId","id","lifecycleState","lifecycleDetails","osPatchDetails","timeStarted","timeEnded"}) public DbSystemOsPatchHistoryEntrySummary(DbSystemOsPatchHistoryEntrySummary.Action action, String dbSystemId, String id, DbSystemOsPatchHistoryEntrySummary.LifecycleState lifecycleState, String lifecycleDetails, DbSystemOsPatchDetailsCollection osPatchDetails, Date timeStarted, Date timeEnded)
Deprecated.
-
-
Method Detail
-
builder
public static DbSystemOsPatchHistoryEntrySummary.Builder builder()
Create a new builder.
-
toBuilder
public DbSystemOsPatchHistoryEntrySummary.Builder toBuilder()
-
getAction
public DbSystemOsPatchHistoryEntrySummary.Action getAction()
The action being performed or was completed.- Returns:
- the value
-
getLifecycleState
public DbSystemOsPatchHistoryEntrySummary.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
-
getOsPatchDetails
public DbSystemOsPatchDetailsCollection getOsPatchDetails()
-
getTimeStarted
public Date getTimeStarted()
The date and time when the patch action started.- Returns:
- the value
-
getTimeEnded
public Date getTimeEnded()
The date and time when the patch 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
-
-