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.ExplicitlySetBmcModel
Problem 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 Summary
Nested Classes Modifier and Type Class Description static class
ProblemHistorySummary.Builder
-
Constructor Summary
Constructors 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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProblemHistorySummary.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getActorName()
Resource name who performed the activityActorType
getActorType()
Type of actor who performed the operationString
getComment()
User-defined commentsString
getDelta()
Impacted resource names in a comma-separated stringEventStatus
getEventStatus()
Event statusString
getExplanation()
Activity explanation detailsString
getId()
Unique identifier for the history recordProblemLifecycleDetail
getLifecycleDetail()
Additional details on the substate of the lifecycle stateList<ResourceLock>
getLocks()
Locks associated with this resource.String
getProblemId()
Problem ID with which history is associatedDate
getTimeCreated()
Date and time the problem was createdint
hashCode()
ProblemHistorySummary.Builder
toBuilder()
String
toString()
String
toString(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
-
builder
public static ProblemHistorySummary.Builder builder()
Create a new builder.
-
toBuilder
public ProblemHistorySummary.Builder toBuilder()
-
getId
public String getId()
Unique identifier for the history record- Returns:
- the value
-
getProblemId
public String getProblemId()
Problem ID with which history is associated- Returns:
- the value
-
getActorType
public ActorType getActorType()
Type of actor who performed the operation- Returns:
- the value
-
getActorName
public String getActorName()
Resource name who performed the activity- Returns:
- the value
-
getExplanation
public String getExplanation()
Activity explanation details- Returns:
- the value
-
getLifecycleDetail
public ProblemLifecycleDetail getLifecycleDetail()
Additional details on the substate of the lifecycle state- Returns:
- the value
-
getEventStatus
public EventStatus getEventStatus()
Event status- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
Date and time the problem was created- Returns:
- the value
-
getDelta
public String getDelta()
Impacted resource names in a comma-separated string- Returns:
- the value
-
getComment
public String getComment()
User-defined comments- Returns:
- the value
-
getLocks
public List<ResourceLock> getLocks()
Locks associated with this resource.- 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
-
-