Package com.oracle.bmc.database.model
Class PatchHistoryEntrySummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.database.model.PatchHistoryEntrySummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class PatchHistoryEntrySummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The record of a patch action on a specified target.
Note: Objects should always be created or deserialized using thePatchHistoryEntrySummary.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 thePatchHistoryEntrySummary.Builder
, which maintain a set of all explicitly set fields calledPatchHistoryEntrySummary.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
PatchHistoryEntrySummary.Action
The action being performed or was completed.static class
PatchHistoryEntrySummary.Builder
static class
PatchHistoryEntrySummary.LifecycleState
The current state of the action.static class
PatchHistoryEntrySummary.PatchType
The type of Patch operation.
-
Constructor Summary
Constructors Constructor Description PatchHistoryEntrySummary(String id, String patchId, PatchHistoryEntrySummary.Action action, PatchHistoryEntrySummary.LifecycleState lifecycleState, String lifecycleDetails, Date timeStarted, Date timeEnded, PatchHistoryEntrySummary.PatchType patchType)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PatchHistoryEntrySummary.Builder
builder()
Create a new builder.boolean
equals(Object o)
PatchHistoryEntrySummary.Action
getAction()
The action being performed or was completed.String
getId()
The OCID of the patch history entry.String
getLifecycleDetails()
A descriptive text associated with the lifecycleState.PatchHistoryEntrySummary.LifecycleState
getLifecycleState()
The current state of the action.String
getPatchId()
The OCID of the patch.PatchHistoryEntrySummary.PatchType
getPatchType()
The type of Patch operation.Date
getTimeEnded()
The date and time when the patch action completedDate
getTimeStarted()
The date and time when the patch action started.int
hashCode()
PatchHistoryEntrySummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
PatchHistoryEntrySummary
@Deprecated @ConstructorProperties({"id","patchId","action","lifecycleState","lifecycleDetails","timeStarted","timeEnded","patchType"}) public PatchHistoryEntrySummary(String id, String patchId, PatchHistoryEntrySummary.Action action, PatchHistoryEntrySummary.LifecycleState lifecycleState, String lifecycleDetails, Date timeStarted, Date timeEnded, PatchHistoryEntrySummary.PatchType patchType)
Deprecated.
-
-
Method Detail
-
builder
public static PatchHistoryEntrySummary.Builder builder()
Create a new builder.
-
toBuilder
public PatchHistoryEntrySummary.Builder toBuilder()
-
getAction
public PatchHistoryEntrySummary.Action getAction()
The action being performed or was completed.- Returns:
- the value
-
getLifecycleState
public PatchHistoryEntrySummary.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 patch action started.- Returns:
- the value
-
getTimeEnded
public Date getTimeEnded()
The date and time when the patch action completed- Returns:
- the value
-
getPatchType
public PatchHistoryEntrySummary.PatchType getPatchType()
The type of Patch operation.- 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
-
-