public static class RemediationRun.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RemediationRun |
build() |
RemediationRun.Builder |
compartmentId(String compartmentId)
The compartment Oracle Cloud Identifier
(OCID) of the
remediation run.
|
RemediationRun.Builder |
copy(RemediationRun model) |
RemediationRun.Builder |
currentStageType(RemediationRunStageType currentStageType)
The type of the current stage of the remediation run.
|
RemediationRun.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
RemediationRun.Builder |
displayName(String displayName)
The name of the remediation run.
|
RemediationRun.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
RemediationRun.Builder |
id(String id)
The Oracle Cloud Identifier
(OCID) of the
remediation run.
|
RemediationRun.Builder |
lifecycleState(RemediationRun.LifecycleState lifecycleState)
The current lifecycle state of the remediation run.
|
RemediationRun.Builder |
remediationRecipeId(String remediationRecipeId)
The Oracle Cloud Identifier
(OCID) of the
Remediation Recipe.
|
RemediationRun.Builder |
remediationRunSource(RemediationRun.RemediationRunSource remediationRunSource)
The source that triggered the Remediation Recipe.
|
RemediationRun.Builder |
stages(List<StageSummary> stages)
The list of remediation run stage summaries.
|
RemediationRun.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
RemediationRun.Builder |
timeCreated(Date timeCreated)
The creation date and time of the remediation run (formatted according to
RFC3339).
|
RemediationRun.Builder |
timeFinished(Date timeFinished)
The date and time of the finish of the remediation run (formatted according to
RFC3339).
|
RemediationRun.Builder |
timeStarted(Date timeStarted)
The date and time of the start of the remediation run (formatted according to
RFC3339).
|
RemediationRun.Builder |
timeUpdated(Date timeUpdated)
The date and time the remediation run was last updated (formatted according to
RFC3339).
|
public RemediationRun.Builder id(String id)
The Oracle Cloud Identifier (OCID) of the remediation run.
id
- the value to setpublic RemediationRun.Builder displayName(String displayName)
The name of the remediation run.
displayName
- the value to setpublic RemediationRun.Builder stages(List<StageSummary> stages)
The list of remediation run stage summaries.
stages
- the value to setpublic RemediationRun.Builder remediationRecipeId(String remediationRecipeId)
The Oracle Cloud Identifier (OCID) of the Remediation Recipe.
remediationRecipeId
- the value to setpublic RemediationRun.Builder remediationRunSource(RemediationRun.RemediationRunSource remediationRunSource)
The source that triggered the Remediation Recipe.
remediationRunSource
- the value to setpublic RemediationRun.Builder timeCreated(Date timeCreated)
The creation date and time of the remediation run (formatted according to RFC3339).
timeCreated
- the value to setpublic RemediationRun.Builder timeUpdated(Date timeUpdated)
The date and time the remediation run was last updated (formatted according to RFC3339).
timeUpdated
- the value to setpublic RemediationRun.Builder timeStarted(Date timeStarted)
The date and time of the start of the remediation run (formatted according to RFC3339).
timeStarted
- the value to setpublic RemediationRun.Builder timeFinished(Date timeFinished)
The date and time of the finish of the remediation run (formatted according to RFC3339).
timeFinished
- the value to setpublic RemediationRun.Builder currentStageType(RemediationRunStageType currentStageType)
The type of the current stage of the remediation run.
currentStageType
- the value to setpublic RemediationRun.Builder compartmentId(String compartmentId)
The compartment Oracle Cloud Identifier (OCID) of the remediation run.
compartmentId
- the value to setpublic RemediationRun.Builder lifecycleState(RemediationRun.LifecycleState lifecycleState)
The current lifecycle state of the remediation run.
lifecycleState
- the value to setpublic RemediationRun.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 RemediationRun.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 RemediationRun.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 RemediationRun build()
public RemediationRun.Builder copy(RemediationRun model)
Copyright © 2016–2024. All rights reserved.