public static class RecommendationSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RecommendationSummary |
build() |
RecommendationSummary.Builder |
compartmentId(String compartmentId)
Compartment OCID
|
RecommendationSummary.Builder |
copy(RecommendationSummary model) |
RecommendationSummary.Builder |
description(String description)
Description of the recommendation
|
RecommendationSummary.Builder |
details(Map<String,String> details)
Recommendation details
|
RecommendationSummary.Builder |
id(String id)
Unique identifier for the recommendation
|
RecommendationSummary.Builder |
lifecycleDetail(RecommendationLifecycleDetail lifecycleDetail)
Additional details on the substate of the lifecycle state
|
RecommendationSummary.Builder |
lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the recommendation
|
RecommendationSummary.Builder |
name(String name)
Recommendation string that appears in the UI for the problem
|
RecommendationSummary.Builder |
problemCount(Long problemCount)
Count number of the problem
|
RecommendationSummary.Builder |
riskLevel(RiskLevel riskLevel)
The risk level of the problem
|
RecommendationSummary.Builder |
targetId(String targetId)
Target ID associated with the problem
|
RecommendationSummary.Builder |
tenantId(String tenantId)
Tenant identifier
|
RecommendationSummary.Builder |
timeCreated(Date timeCreated)
The date and time the problem was first created
|
RecommendationSummary.Builder |
timeUpdated(Date timeUpdated)
The date and time the problem was last updated
|
RecommendationSummary.Builder |
type(RecommendationType type)
Recommendation type
|
public RecommendationSummary.Builder id(String id)
Unique identifier for the recommendation
id
- the value to setpublic RecommendationSummary.Builder type(RecommendationType type)
Recommendation type
type
- the value to setpublic RecommendationSummary.Builder tenantId(String tenantId)
Tenant identifier
tenantId
- the value to setpublic RecommendationSummary.Builder compartmentId(String compartmentId)
Compartment OCID
compartmentId
- the value to setpublic RecommendationSummary.Builder targetId(String targetId)
Target ID associated with the problem
targetId
- the value to setpublic RecommendationSummary.Builder details(Map<String,String> details)
Recommendation details
details
- the value to setpublic RecommendationSummary.Builder riskLevel(RiskLevel riskLevel)
The risk level of the problem
riskLevel
- the value to setpublic RecommendationSummary.Builder problemCount(Long problemCount)
Count number of the problem
problemCount
- the value to setpublic RecommendationSummary.Builder lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the recommendation
lifecycleState
- the value to setpublic RecommendationSummary.Builder lifecycleDetail(RecommendationLifecycleDetail lifecycleDetail)
Additional details on the substate of the lifecycle state
lifecycleDetail
- the value to setpublic RecommendationSummary.Builder timeCreated(Date timeCreated)
The date and time the problem was first created
timeCreated
- the value to setpublic RecommendationSummary.Builder timeUpdated(Date timeUpdated)
The date and time the problem was last updated
timeUpdated
- the value to setpublic RecommendationSummary.Builder name(String name)
Recommendation string that appears in the UI for the problem
name
- the value to setpublic RecommendationSummary.Builder description(String description)
Description of the recommendation
description
- the value to setpublic RecommendationSummary build()
public RecommendationSummary.Builder copy(RecommendationSummary model)
Copyright © 2016–2024. All rights reserved.