Package com.oracle.bmc.cloudguard.model
Class ProblemHistorySummary.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudguard.model.ProblemHistorySummary.Builder
-
- Enclosing class:
- ProblemHistorySummary
public static class ProblemHistorySummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProblemHistorySummary.Builder
actorName(String actorName)
Resource name who performed the activityProblemHistorySummary.Builder
actorType(ActorType actorType)
Type of actor who performed the operationProblemHistorySummary
build()
ProblemHistorySummary.Builder
comment(String comment)
User-defined commentsProblemHistorySummary.Builder
copy(ProblemHistorySummary model)
ProblemHistorySummary.Builder
delta(String delta)
Impacted resource names in a comma-separated stringProblemHistorySummary.Builder
eventStatus(EventStatus eventStatus)
Event statusProblemHistorySummary.Builder
explanation(String explanation)
Activity explanation detailsProblemHistorySummary.Builder
id(String id)
Unique identifier for the history recordProblemHistorySummary.Builder
lifecycleDetail(ProblemLifecycleDetail lifecycleDetail)
Additional details on the substate of the lifecycle stateProblemHistorySummary.Builder
locks(List<ResourceLock> locks)
Locks associated with this resource.ProblemHistorySummary.Builder
problemId(String problemId)
Problem ID with which history is associatedProblemHistorySummary.Builder
timeCreated(Date timeCreated)
Date and time the problem was created
-
-
-
Method Detail
-
id
public ProblemHistorySummary.Builder id(String id)
Unique identifier for the history record- Parameters:
id
- the value to set- Returns:
- this builder
-
problemId
public ProblemHistorySummary.Builder problemId(String problemId)
Problem ID with which history is associated- Parameters:
problemId
- the value to set- Returns:
- this builder
-
actorType
public ProblemHistorySummary.Builder actorType(ActorType actorType)
Type of actor who performed the operation- Parameters:
actorType
- the value to set- Returns:
- this builder
-
actorName
public ProblemHistorySummary.Builder actorName(String actorName)
Resource name who performed the activity- Parameters:
actorName
- the value to set- Returns:
- this builder
-
explanation
public ProblemHistorySummary.Builder explanation(String explanation)
Activity explanation details- Parameters:
explanation
- the value to set- Returns:
- this builder
-
lifecycleDetail
public ProblemHistorySummary.Builder lifecycleDetail(ProblemLifecycleDetail lifecycleDetail)
Additional details on the substate of the lifecycle state- Parameters:
lifecycleDetail
- the value to set- Returns:
- this builder
-
eventStatus
public ProblemHistorySummary.Builder eventStatus(EventStatus eventStatus)
Event status- Parameters:
eventStatus
- the value to set- Returns:
- this builder
-
timeCreated
public ProblemHistorySummary.Builder timeCreated(Date timeCreated)
Date and time the problem was created- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
delta
public ProblemHistorySummary.Builder delta(String delta)
Impacted resource names in a comma-separated string- Parameters:
delta
- the value to set- Returns:
- this builder
-
comment
public ProblemHistorySummary.Builder comment(String comment)
User-defined comments- Parameters:
comment
- the value to set- Returns:
- this builder
-
locks
public ProblemHistorySummary.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.- Parameters:
locks
- the value to set- Returns:
- this builder
-
build
public ProblemHistorySummary build()
-
copy
public ProblemHistorySummary.Builder copy(ProblemHistorySummary model)
-
-