Package com.oracle.bmc.adm.model
Class RemediationRecipeSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.adm.model.RemediationRecipeSummary.Builder
-
- Enclosing class:
- RemediationRecipeSummary
public static class RemediationRecipeSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RemediationRecipeSummarybuild()RemediationRecipeSummary.BuildercompartmentId(String compartmentId)The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.RemediationRecipeSummary.Buildercopy(RemediationRecipeSummary model)RemediationRecipeSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.RemediationRecipeSummary.BuilderdisplayName(String displayName)The name of the Remediation Recipe.RemediationRecipeSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.RemediationRecipeSummary.Builderid(String id)The Oracle Cloud Identifier (OCID) of the remediation recipe.RemediationRecipeSummary.BuilderisRunTriggeredOnKbChange(Boolean isRunTriggeredOnKbChange)Boolean indicating if a run should be automatically triggered once the Knowledge Base is updated.RemediationRecipeSummary.BuilderknowledgeBaseId(String knowledgeBaseId)The Oracle Cloud Identifier (OCID) of the knowledge base.RemediationRecipeSummary.BuilderlifecycleState(RemediationRecipe.LifecycleState lifecycleState)The current lifecycle state of the Remediation Recipe.RemediationRecipeSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.RemediationRecipeSummary.BuildertimeCreated(Date timeCreated)The creation date and time of the Remediation Recipe (formatted according to RFC3339).RemediationRecipeSummary.BuildertimeUpdated(Date timeUpdated)The date and time the Remediation Recipe was last updated (formatted according to RFC3339).
-
-
-
Method Detail
-
id
public RemediationRecipeSummary.Builder id(String id)
The Oracle Cloud Identifier (OCID) of the remediation recipe.- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public RemediationRecipeSummary.Builder displayName(String displayName)
The name of the Remediation Recipe.- Parameters:
displayName- the value to set- Returns:
- this builder
-
timeCreated
public RemediationRecipeSummary.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 RemediationRecipeSummary.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
-
compartmentId
public RemediationRecipeSummary.Builder compartmentId(String compartmentId)
The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
lifecycleState
public RemediationRecipeSummary.Builder lifecycleState(RemediationRecipe.LifecycleState lifecycleState)
The current lifecycle state of the Remediation Recipe.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
knowledgeBaseId
public RemediationRecipeSummary.Builder knowledgeBaseId(String knowledgeBaseId)
The Oracle Cloud Identifier (OCID) of the knowledge base.- Parameters:
knowledgeBaseId- the value to set- Returns:
- this builder
-
isRunTriggeredOnKbChange
public RemediationRecipeSummary.Builder isRunTriggeredOnKbChange(Boolean isRunTriggeredOnKbChange)
Boolean indicating if a run should be automatically triggered once the Knowledge Base is updated.- Parameters:
isRunTriggeredOnKbChange- the value to set- Returns:
- this builder
-
freeformTags
public RemediationRecipeSummary.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 RemediationRecipeSummary.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 RemediationRecipeSummary.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 RemediationRecipeSummary build()
-
copy
public RemediationRecipeSummary.Builder copy(RemediationRecipeSummary model)
-
-