Package com.oracle.bmc.adm.model
Class RemediationRecipe.Builder
- java.lang.Object
-
- com.oracle.bmc.adm.model.RemediationRecipe.Builder
-
- Enclosing class:
- RemediationRecipe
public static class RemediationRecipe.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RemediationRecipe
build()
RemediationRecipe.Builder
compartmentId(String compartmentId)
The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.RemediationRecipe.Builder
copy(RemediationRecipe model)
RemediationRecipe.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.RemediationRecipe.Builder
detectConfiguration(DetectConfiguration detectConfiguration)
RemediationRecipe.Builder
displayName(String displayName)
The name of the Remediation Recipe.RemediationRecipe.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.RemediationRecipe.Builder
id(String id)
The Oracle Cloud Identifier (OCID) of the remediation recipe.RemediationRecipe.Builder
isRunTriggeredOnKbChange(Boolean isRunTriggeredOnKbChange)
Boolean indicating if a run should be automatically triggered once the Knowledge Base contents are updated.RemediationRecipe.Builder
knowledgeBaseId(String knowledgeBaseId)
The Oracle Cloud Identifier (OCID) of the knowledge base.RemediationRecipe.Builder
lifecycleState(RemediationRecipe.LifecycleState lifecycleState)
The current lifecycle state of the Remediation Recipe.RemediationRecipe.Builder
networkConfiguration(NetworkConfiguration networkConfiguration)
RemediationRecipe.Builder
scmConfiguration(ScmConfiguration scmConfiguration)
RemediationRecipe.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.RemediationRecipe.Builder
timeCreated(Date timeCreated)
The creation date and time of the Remediation Recipe (formatted according to RFC3339).RemediationRecipe.Builder
timeUpdated(Date timeUpdated)
The date and time the Remediation Recipe was last updated (formatted according to RFC3339).RemediationRecipe.Builder
verifyConfiguration(VerifyConfiguration verifyConfiguration)
-
-
-
Method Detail
-
id
public RemediationRecipe.Builder id(String id)
The Oracle Cloud Identifier (OCID) of the remediation recipe.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public RemediationRecipe.Builder displayName(String displayName)
The name of the Remediation Recipe.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
timeCreated
public RemediationRecipe.Builder timeCreated(Date timeCreated)
The creation date and time of the Remediation Recipe (formatted according to RFC3339).- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public RemediationRecipe.Builder timeUpdated(Date timeUpdated)
The date and time the Remediation Recipe was last updated (formatted according to RFC3339).- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public RemediationRecipe.Builder lifecycleState(RemediationRecipe.LifecycleState lifecycleState)
The current lifecycle state of the Remediation Recipe.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
compartmentId
public RemediationRecipe.Builder compartmentId(String compartmentId)
The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
knowledgeBaseId
public RemediationRecipe.Builder knowledgeBaseId(String knowledgeBaseId)
The Oracle Cloud Identifier (OCID) of the knowledge base.- Parameters:
knowledgeBaseId
- the value to set- Returns:
- this builder
-
isRunTriggeredOnKbChange
public RemediationRecipe.Builder isRunTriggeredOnKbChange(Boolean isRunTriggeredOnKbChange)
Boolean indicating if a run should be automatically triggered once the Knowledge Base contents are updated.- Parameters:
isRunTriggeredOnKbChange
- the value to set- Returns:
- this builder
-
scmConfiguration
public RemediationRecipe.Builder scmConfiguration(ScmConfiguration scmConfiguration)
-
verifyConfiguration
public RemediationRecipe.Builder verifyConfiguration(VerifyConfiguration verifyConfiguration)
-
detectConfiguration
public RemediationRecipe.Builder detectConfiguration(DetectConfiguration detectConfiguration)
-
networkConfiguration
public RemediationRecipe.Builder networkConfiguration(NetworkConfiguration networkConfiguration)
-
freeformTags
public RemediationRecipe.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public RemediationRecipe.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public RemediationRecipe.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public RemediationRecipe build()
-
copy
public RemediationRecipe.Builder copy(RemediationRecipe model)
-
-