Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Problem.Builder |
additionalDetails(Map<String,String> additionalDetails)
The additional details of the Problem
|
Problem.Builder |
autoResolveDate(String autoResolveDate)
The date and time when the problem will be auto resolved.
|
Problem |
build() |
Problem.Builder |
comment(String comment)
User Comments
|
Problem.Builder |
compartmentId(String compartmentId)
Compartment Identifier where the resource is created
|
Problem.Builder |
copy(Problem model) |
Problem.Builder |
description(String description)
Description of the problem
|
Problem.Builder |
detectorId(DetectorEnum detectorId)
Id of the detector associated with the Problem.
|
Problem.Builder |
detectorRuleId(String detectorRuleId)
Identifier of the rule
|
Problem.Builder |
id(String id)
Unique identifier that is immutable on creation
|
Problem.Builder |
impactedResourceId(String impactedResourceId)
Identifier of the impacted Resource
|
Problem.Builder |
impactedResourceName(String impactedResourceName)
DisplayName of the impacted Resource
|
Problem.Builder |
impactedResourceType(String impactedResourceType)
Type of the impacted Resource
|
Problem.Builder |
labels(List<String> labels)
user defined labels on the problem
|
Problem.Builder |
lifecycleDetail(ProblemLifecycleDetail lifecycleDetail)
The lifecycleDetail will give more detail on the substate of the lifecycleState.
|
Problem.Builder |
lifecycleState(ProblemLifecycleState lifecycleState)
The current state of the Problem.
|
Problem.Builder |
peakRiskScore(Double peakRiskScore)
Peak risk score for the problem
|
Problem.Builder |
peakRiskScoreDate(String peakRiskScoreDate)
The date and time for the peak risk score that is observed.
|
Problem.Builder |
peakRiskScoreLookupPeriodInDays(Integer peakRiskScoreLookupPeriodInDays)
Number of days for which peak score is calculated for the problem
|
Problem.Builder |
recommendation(String recommendation)
Recommendation for the problem
|
Problem.Builder |
region(String region)
DEPRECATED
|
Problem.Builder |
regions(List<String> regions)
Regions where the problem is found
|
Problem.Builder |
resourceId(String resourceId)
Identifier of the Resource
|
Problem.Builder |
resourceName(String resourceName)
DisplayName of the Resource
|
Problem.Builder |
resourceType(String resourceType)
Type of the Resource
|
Problem.Builder |
riskLevel(RiskLevel riskLevel)
The Risk Level
|
Problem.Builder |
riskScore(Double riskScore)
Risk Score for the problem
|
Problem.Builder |
targetId(String targetId)
targetId of the problem
|
Problem.Builder |
timeFirstDetected(Date timeFirstDetected)
The date and time the problem was first detected.
|
Problem.Builder |
timeLastDetected(Date timeLastDetected)
The date and time the problem was last detected.
|
public Problem.Builder id(String id)
Unique identifier that is immutable on creation
id
- the value to setpublic Problem.Builder compartmentId(String compartmentId)
Compartment Identifier where the resource is created
compartmentId
- the value to setpublic Problem.Builder detectorRuleId(String detectorRuleId)
Identifier of the rule
detectorRuleId
- the value to setpublic Problem.Builder region(String region)
DEPRECATED
region
- the value to setpublic Problem.Builder regions(List<String> regions)
Regions where the problem is found
regions
- the value to setpublic Problem.Builder riskLevel(RiskLevel riskLevel)
The Risk Level
riskLevel
- the value to setpublic Problem.Builder riskScore(Double riskScore)
Risk Score for the problem
riskScore
- the value to setpublic Problem.Builder peakRiskScoreDate(String peakRiskScoreDate)
The date and time for the peak risk score that is observed. Format defined by RFC3339.
peakRiskScoreDate
- the value to setpublic Problem.Builder peakRiskScore(Double peakRiskScore)
Peak risk score for the problem
peakRiskScore
- the value to setpublic Problem.Builder autoResolveDate(String autoResolveDate)
The date and time when the problem will be auto resolved. Format defined by RFC3339.
autoResolveDate
- the value to setpublic Problem.Builder peakRiskScoreLookupPeriodInDays(Integer peakRiskScoreLookupPeriodInDays)
Number of days for which peak score is calculated for the problem
peakRiskScoreLookupPeriodInDays
- the value to setpublic Problem.Builder resourceId(String resourceId)
Identifier of the Resource
resourceId
- the value to setpublic Problem.Builder resourceName(String resourceName)
DisplayName of the Resource
resourceName
- the value to setpublic Problem.Builder resourceType(String resourceType)
Type of the Resource
resourceType
- the value to setpublic Problem.Builder labels(List<String> labels)
user defined labels on the problem
labels
- the value to setpublic Problem.Builder timeLastDetected(Date timeLastDetected)
The date and time the problem was last detected. Format defined by RFC3339.
timeLastDetected
- the value to setpublic Problem.Builder timeFirstDetected(Date timeFirstDetected)
The date and time the problem was first detected. Format defined by RFC3339.
timeFirstDetected
- the value to setpublic Problem.Builder lifecycleState(ProblemLifecycleState lifecycleState)
The current state of the Problem.
lifecycleState
- the value to setpublic Problem.Builder lifecycleDetail(ProblemLifecycleDetail lifecycleDetail)
The lifecycleDetail will give more detail on the substate of the lifecycleState.
lifecycleDetail
- the value to setpublic Problem.Builder detectorId(DetectorEnum detectorId)
Id of the detector associated with the Problem.
detectorId
- the value to setpublic Problem.Builder targetId(String targetId)
targetId of the problem
targetId
- the value to setpublic Problem.Builder additionalDetails(Map<String,String> additionalDetails)
The additional details of the Problem
additionalDetails
- the value to setpublic Problem.Builder description(String description)
Description of the problem
description
- the value to setpublic Problem.Builder recommendation(String recommendation)
Recommendation for the problem
recommendation
- the value to setpublic Problem.Builder comment(String comment)
User Comments
comment
- the value to setpublic Problem.Builder impactedResourceId(String impactedResourceId)
Identifier of the impacted Resource
impactedResourceId
- the value to setpublic Problem.Builder impactedResourceName(String impactedResourceName)
DisplayName of the impacted Resource
impactedResourceName
- the value to setpublic Problem.Builder impactedResourceType(String impactedResourceType)
Type of the impacted Resource
impactedResourceType
- the value to setpublic Problem build()
public Problem.Builder copy(Problem model)
Copyright © 2016–2023. All rights reserved.