public static class RecommendationSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
public RecommendationSummary.Builder id(String id)
Unique identifier for 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 Identifier
compartmentId
- the value to setpublic RecommendationSummary.Builder targetId(String targetId)
targetId 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
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 state of the Recommendation.
lifecycleState
- the value to setpublic RecommendationSummary.Builder lifecycleDetail(RecommendationLifecycleDetail lifecycleDetail)
The lifecycleDetail will give more detail on the substate of the lifecycleState.
lifecycleDetail
- the value to setpublic RecommendationSummary.Builder timeCreated(Date timeCreated)
problem creating time
timeCreated
- the value to setpublic RecommendationSummary.Builder timeUpdated(Date timeUpdated)
problem updating time
timeUpdated
- the value to setpublic RecommendationSummary.Builder name(String name)
recommendation string showing on UX
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–2023. All rights reserved.