Package com.oracle.bmc.cloudguard.model
Class ResponderExecution.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudguard.model.ResponderExecution.Builder
-
- Enclosing class:
- ResponderExecution
public static class ResponderExecution.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResponderExecutionbuild()ResponderExecution.BuildercompartmentId(String compartmentId)Compartment OCID of the responder execution for the problemResponderExecution.Buildercopy(ResponderExecution model)ResponderExecution.Builderid(String id)The unique identifier of the responder executionResponderExecution.Builderlocks(List<ResourceLock> locks)Locks associated with this resource.ResponderExecution.Buildermessage(String message)Message about the responder executionResponderExecution.BuilderproblemId(String problemId)Problem ID associated with the responder executionResponderExecution.Builderregion(String region)Region where the problem is foundResponderExecution.BuilderresourceName(String resourceName)Resource name of the problem for the responder execution.ResponderExecution.BuilderresourceType(String resourceType)Resource type of the problem for the responder executionResponderExecution.BuilderresponderExecutionMode(ResponderExecutionModes responderExecutionMode)Execution mode of the responderResponderExecution.BuilderresponderExecutionStatus(ResponderExecutionStates responderExecutionStatus)Current execution status of the responderResponderExecution.BuilderresponderRuleExecutionDetails(ResponderRuleExecutionDetails responderRuleExecutionDetails)ResponderExecution.BuilderresponderRuleId(String responderRuleId)Responder rule ID for the responder executionResponderExecution.BuilderresponderRuleName(String responderRuleName)Responder rule name for the responder executionResponderExecution.BuilderresponderRuleType(ResponderType responderRuleType)Responder rule type for the responder executionResponderExecution.BuildertargetId(String targetId)Target ID of the problem for the responder executionResponderExecution.BuildertimeCompleted(Date timeCompleted)The date and time the responder execution was updated.ResponderExecution.BuildertimeCreated(Date timeCreated)The date and time the responder execution was created.
-
-
-
Method Detail
-
id
public ResponderExecution.Builder id(String id)
The unique identifier of the responder execution- Parameters:
id- the value to set- Returns:
- this builder
-
responderRuleId
public ResponderExecution.Builder responderRuleId(String responderRuleId)
Responder rule ID for the responder execution- Parameters:
responderRuleId- the value to set- Returns:
- this builder
-
responderRuleType
public ResponderExecution.Builder responderRuleType(ResponderType responderRuleType)
Responder rule type for the responder execution- Parameters:
responderRuleType- the value to set- Returns:
- this builder
-
responderRuleName
public ResponderExecution.Builder responderRuleName(String responderRuleName)
Responder rule name for the responder execution- Parameters:
responderRuleName- the value to set- Returns:
- this builder
-
problemId
public ResponderExecution.Builder problemId(String problemId)
Problem ID associated with the responder execution- Parameters:
problemId- the value to set- Returns:
- this builder
-
region
public ResponderExecution.Builder region(String region)
Region where the problem is found- Parameters:
region- the value to set- Returns:
- this builder
-
targetId
public ResponderExecution.Builder targetId(String targetId)
Target ID of the problem for the responder execution- Parameters:
targetId- the value to set- Returns:
- this builder
-
compartmentId
public ResponderExecution.Builder compartmentId(String compartmentId)
Compartment OCID of the responder execution for the problem- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
resourceType
public ResponderExecution.Builder resourceType(String resourceType)
Resource type of the problem for the responder execution- Parameters:
resourceType- the value to set- Returns:
- this builder
-
resourceName
public ResponderExecution.Builder resourceName(String resourceName)
Resource name of the problem for the responder execution.- Parameters:
resourceName- the value to set- Returns:
- this builder
-
timeCreated
public ResponderExecution.Builder timeCreated(Date timeCreated)
The date and time the responder execution was created.Format defined by RFC3339.
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeCompleted
public ResponderExecution.Builder timeCompleted(Date timeCompleted)
The date and time the responder execution was updated.Format defined by RFC3339.
- Parameters:
timeCompleted- the value to set- Returns:
- this builder
-
responderExecutionStatus
public ResponderExecution.Builder responderExecutionStatus(ResponderExecutionStates responderExecutionStatus)
Current execution status of the responder- Parameters:
responderExecutionStatus- the value to set- Returns:
- this builder
-
responderExecutionMode
public ResponderExecution.Builder responderExecutionMode(ResponderExecutionModes responderExecutionMode)
Execution mode of the responder- Parameters:
responderExecutionMode- the value to set- Returns:
- this builder
-
message
public ResponderExecution.Builder message(String message)
Message about the responder execution- Parameters:
message- the value to set- Returns:
- this builder
-
responderRuleExecutionDetails
public ResponderExecution.Builder responderRuleExecutionDetails(ResponderRuleExecutionDetails responderRuleExecutionDetails)
-
locks
public ResponderExecution.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.- Parameters:
locks- the value to set- Returns:
- this builder
-
build
public ResponderExecution build()
-
copy
public ResponderExecution.Builder copy(ResponderExecution model)
-
-