public static class RemediationRecipe.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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) |
public RemediationRecipe.Builder id(String id)
The Oracle Cloud Identifier (OCID) of the remediation recipe.
id
- the value to setpublic RemediationRecipe.Builder displayName(String displayName)
The name of the Remediation Recipe.
displayName
- the value to setpublic RemediationRecipe.Builder timeCreated(Date timeCreated)
The creation date and time of the Remediation Recipe (formatted according to RFC3339).
timeCreated
- the value to setpublic RemediationRecipe.Builder timeUpdated(Date timeUpdated)
The date and time the Remediation Recipe was last updated (formatted according to RFC3339).
timeUpdated
- the value to setpublic RemediationRecipe.Builder lifecycleState(RemediationRecipe.LifecycleState lifecycleState)
The current lifecycle state of the Remediation Recipe.
lifecycleState
- the value to setpublic RemediationRecipe.Builder compartmentId(String compartmentId)
The compartment Oracle Cloud Identifier (OCID) of the remediation recipe.
compartmentId
- the value to setpublic RemediationRecipe.Builder knowledgeBaseId(String knowledgeBaseId)
The Oracle Cloud Identifier (OCID) of the knowledge base.
knowledgeBaseId
- the value to setpublic RemediationRecipe.Builder isRunTriggeredOnKbChange(Boolean isRunTriggeredOnKbChange)
Boolean indicating if a run should be automatically triggered once the Knowledge Base contents are updated.
isRunTriggeredOnKbChange
- the value to setpublic RemediationRecipe.Builder scmConfiguration(ScmConfiguration scmConfiguration)
public RemediationRecipe.Builder verifyConfiguration(VerifyConfiguration verifyConfiguration)
public RemediationRecipe.Builder detectConfiguration(DetectConfiguration detectConfiguration)
public RemediationRecipe.Builder networkConfiguration(NetworkConfiguration networkConfiguration)
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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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"}}
systemTags
- the value to setpublic RemediationRecipe build()
public RemediationRecipe.Builder copy(RemediationRecipe model)
Copyright © 2016–2024. All rights reserved.