Package com.oracle.bmc.cloudguard.model
Class ProblemHistorySummary
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.cloudguard.model.ProblemHistorySummary
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20200131") public final class ProblemHistorySummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelProblem history definition.
 Note: Objects should always be created or deserialized using theProblemHistorySummary.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 theProblemHistorySummary.Builder, which maintain a set of all explicitly set fields calledProblemHistorySummary.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 classProblemHistorySummary.Builder
 - 
Constructor SummaryConstructors Constructor Description ProblemHistorySummary(String id, String problemId, ActorType actorType, String actorName, String explanation, ProblemLifecycleDetail lifecycleDetail, EventStatus eventStatus, Date timeCreated, String delta, String comment, List<ResourceLock> locks)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProblemHistorySummary.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetActorName()Resource name who performed the activityActorTypegetActorType()Type of actor who performed the operationStringgetComment()User-defined commentsStringgetDelta()Impacted resource names in a comma-separated stringEventStatusgetEventStatus()Event statusStringgetExplanation()Activity explanation detailsStringgetId()Unique identifier for the history recordProblemLifecycleDetailgetLifecycleDetail()Additional details on the substate of the lifecycle stateList<ResourceLock>getLocks()Locks associated with this resource.StringgetProblemId()Problem ID with which history is associatedDategetTimeCreated()Date and time the problem was createdinthashCode()ProblemHistorySummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
ProblemHistorySummary@Deprecated @ConstructorProperties({"id","problemId","actorType","actorName","explanation","lifecycleDetail","eventStatus","timeCreated","delta","comment","locks"}) public ProblemHistorySummary(String id, String problemId, ActorType actorType, String actorName, String explanation, ProblemLifecycleDetail lifecycleDetail, EventStatus eventStatus, Date timeCreated, String delta, String comment, List<ResourceLock> locks) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static ProblemHistorySummary.Builder builder() Create a new builder.
 - 
toBuilderpublic ProblemHistorySummary.Builder toBuilder() 
 - 
getIdpublic String getId() Unique identifier for the history record- Returns:
- the value
 
 - 
getProblemIdpublic String getProblemId() Problem ID with which history is associated- Returns:
- the value
 
 - 
getActorTypepublic ActorType getActorType() Type of actor who performed the operation- Returns:
- the value
 
 - 
getActorNamepublic String getActorName() Resource name who performed the activity- Returns:
- the value
 
 - 
getExplanationpublic String getExplanation() Activity explanation details- Returns:
- the value
 
 - 
getLifecycleDetailpublic ProblemLifecycleDetail getLifecycleDetail() Additional details on the substate of the lifecycle state- Returns:
- the value
 
 - 
getEventStatuspublic EventStatus getEventStatus() Event status- Returns:
- the value
 
 - 
getTimeCreatedpublic Date getTimeCreated() Date and time the problem was created- Returns:
- the value
 
 - 
getDeltapublic String getDelta() Impacted resource names in a comma-separated string- Returns:
- the value
 
 - 
getCommentpublic String getComment() User-defined comments- Returns:
- the value
 
 - 
getLockspublic List<ResourceLock> getLocks() Locks associated with this resource.- 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
 
 
- 
 
-