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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description RemediationRecipebuild()RemediationRecipe.BuildercompartmentId(String compartmentId)The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.RemediationRecipe.Buildercopy(RemediationRecipe model)RemediationRecipe.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.RemediationRecipe.BuilderdetectConfiguration(DetectConfiguration detectConfiguration)RemediationRecipe.BuilderdisplayName(String displayName)The name of the Remediation Recipe.RemediationRecipe.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.RemediationRecipe.Builderid(String id)The Oracle Cloud Identifier (OCID) of the remediation recipe.RemediationRecipe.BuilderisRunTriggeredOnKbChange(Boolean isRunTriggeredOnKbChange)Boolean indicating if a run should be automatically triggered once the Knowledge Base contents are updated.RemediationRecipe.BuilderknowledgeBaseId(String knowledgeBaseId)The Oracle Cloud Identifier (OCID) of the knowledge base.RemediationRecipe.BuilderlifecycleState(RemediationRecipe.LifecycleState lifecycleState)The current lifecycle state of the Remediation Recipe.RemediationRecipe.BuildernetworkConfiguration(NetworkConfiguration networkConfiguration)RemediationRecipe.BuilderscmConfiguration(ScmConfiguration scmConfiguration)RemediationRecipe.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.RemediationRecipe.BuildertimeCreated(Date timeCreated)The creation date and time of the Remediation Recipe (formatted according to RFC3339).RemediationRecipe.BuildertimeUpdated(Date timeUpdated)The date and time the Remediation Recipe was last updated (formatted according to RFC3339).RemediationRecipe.BuilderverifyConfiguration(VerifyConfiguration verifyConfiguration)
 
- 
- 
- 
Method Detail- 
idpublic RemediationRecipe.Builder id(String id) The Oracle Cloud Identifier (OCID) of the remediation recipe.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic RemediationRecipe.Builder displayName(String displayName) The name of the Remediation Recipe.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic 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
 
 - 
timeUpdatedpublic 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
 
 - 
lifecycleStatepublic RemediationRecipe.Builder lifecycleState(RemediationRecipe.LifecycleState lifecycleState) The current lifecycle state of the Remediation Recipe.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic RemediationRecipe.Builder compartmentId(String compartmentId) The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
knowledgeBaseIdpublic RemediationRecipe.Builder knowledgeBaseId(String knowledgeBaseId) The Oracle Cloud Identifier (OCID) of the knowledge base.- Parameters:
- knowledgeBaseId- the value to set
- Returns:
- this builder
 
 - 
isRunTriggeredOnKbChangepublic 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
 
 - 
scmConfigurationpublic RemediationRecipe.Builder scmConfiguration(ScmConfiguration scmConfiguration) 
 - 
verifyConfigurationpublic RemediationRecipe.Builder verifyConfiguration(VerifyConfiguration verifyConfiguration) 
 - 
detectConfigurationpublic RemediationRecipe.Builder detectConfiguration(DetectConfiguration detectConfiguration) 
 - 
networkConfigurationpublic RemediationRecipe.Builder networkConfiguration(NetworkConfiguration networkConfiguration) 
 - 
freeformTagspublic 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
 
 - 
definedTagspublic 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
 
 - 
systemTagspublic 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
 
 - 
buildpublic RemediationRecipe build() 
 - 
copypublic RemediationRecipe.Builder copy(RemediationRecipe model) 
 
- 
 
-