Package com.oracle.bmc.database.model
Class PatchHistoryEntry
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.database.model.PatchHistoryEntry
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class PatchHistoryEntry extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 Note: Objects should always be created or deserialized using thePatchHistoryEntry.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 the PatchHistoryEntry.Builder, which maintain a set of all explicitly set fields calledPatchHistoryEntry.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 SummaryNested Classes Modifier and Type Class Description static classPatchHistoryEntry.ActionThe action being performed or was completed.static classPatchHistoryEntry.Builderstatic classPatchHistoryEntry.LifecycleStateThe current state of the action.static classPatchHistoryEntry.PatchTypeThe type of Patch operation.
 - 
Constructor SummaryConstructors Constructor Description PatchHistoryEntry(String id, String patchId, PatchHistoryEntry.Action action, PatchHistoryEntry.LifecycleState lifecycleState, String lifecycleDetails, Date timeStarted, Date timeEnded, PatchHistoryEntry.PatchType patchType)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PatchHistoryEntry.Builderbuilder()Create a new builder.booleanequals(Object o)PatchHistoryEntry.ActiongetAction()The action being performed or was completed.StringgetId()The OCID of the patch history entry.StringgetLifecycleDetails()A descriptive text associated with the lifecycleState.PatchHistoryEntry.LifecycleStategetLifecycleState()The current state of the action.StringgetPatchId()The OCID of the patch.PatchHistoryEntry.PatchTypegetPatchType()The type of Patch operation.DategetTimeEnded()The date and time when the patch action completedDategetTimeStarted()The date and time when the patch action started.inthashCode()PatchHistoryEntry.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
PatchHistoryEntry@Deprecated @ConstructorProperties({"id","patchId","action","lifecycleState","lifecycleDetails","timeStarted","timeEnded","patchType"}) public PatchHistoryEntry(String id, String patchId, PatchHistoryEntry.Action action, PatchHistoryEntry.LifecycleState lifecycleState, String lifecycleDetails, Date timeStarted, Date timeEnded, PatchHistoryEntry.PatchType patchType) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static PatchHistoryEntry.Builder builder() Create a new builder.
 - 
toBuilderpublic PatchHistoryEntry.Builder toBuilder() 
 - 
getActionpublic PatchHistoryEntry.Action getAction() The action being performed or was completed.- Returns:
- the value
 
 - 
getLifecycleStatepublic PatchHistoryEntry.LifecycleState getLifecycleState() The current state of the action.- Returns:
- the value
 
 - 
getLifecycleDetailspublic String getLifecycleDetails() A descriptive text associated with the lifecycleState.Typically contains additional displayable text. - Returns:
- the value
 
 - 
getTimeStartedpublic Date getTimeStarted() The date and time when the patch action started.- Returns:
- the value
 
 - 
getTimeEndedpublic Date getTimeEnded() The date and time when the patch action completed- Returns:
- the value
 
 - 
getPatchTypepublic PatchHistoryEntry.PatchType getPatchType() The type of Patch operation.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-