Package com.oracle.bmc.cloudguard.model
Class RecommendationSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudguard.model.RecommendationSummary.Builder
-
- Enclosing class:
- RecommendationSummary
public static class RecommendationSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RecommendationSummarybuild()RecommendationSummary.BuildercompartmentId(String compartmentId)Compartment OCIDRecommendationSummary.Buildercopy(RecommendationSummary model)RecommendationSummary.Builderdescription(String description)Description of the recommendationRecommendationSummary.Builderdetails(Map<String,String> details)Recommendation detailsRecommendationSummary.Builderid(String id)Unique identifier for the recommendationRecommendationSummary.BuilderlifecycleDetail(RecommendationLifecycleDetail lifecycleDetail)Additional details on the substate of the lifecycle stateRecommendationSummary.BuilderlifecycleState(LifecycleState lifecycleState)The current lifecycle state of the recommendationRecommendationSummary.Buildername(String name)Recommendation string that appears in the UI for the problemRecommendationSummary.BuilderproblemCount(Long problemCount)Count number of the problemRecommendationSummary.BuilderriskLevel(RiskLevel riskLevel)The risk level of the problemRecommendationSummary.BuildertargetId(String targetId)Target ID associated with the problemRecommendationSummary.BuildertenantId(String tenantId)Tenant identifierRecommendationSummary.BuildertimeCreated(Date timeCreated)The date and time the problem was first createdRecommendationSummary.BuildertimeUpdated(Date timeUpdated)The date and time the problem was last updatedRecommendationSummary.Buildertype(RecommendationType type)Recommendation type
-
-
-
Method Detail
-
id
public RecommendationSummary.Builder id(String id)
Unique identifier for the recommendation- Parameters:
id- the value to set- Returns:
- this builder
-
type
public RecommendationSummary.Builder type(RecommendationType type)
Recommendation type- Parameters:
type- the value to set- Returns:
- this builder
-
tenantId
public RecommendationSummary.Builder tenantId(String tenantId)
Tenant identifier- Parameters:
tenantId- the value to set- Returns:
- this builder
-
compartmentId
public RecommendationSummary.Builder compartmentId(String compartmentId)
Compartment OCID- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
targetId
public RecommendationSummary.Builder targetId(String targetId)
Target ID associated with the problem- Parameters:
targetId- the value to set- Returns:
- this builder
-
details
public RecommendationSummary.Builder details(Map<String,String> details)
Recommendation details- Parameters:
details- the value to set- Returns:
- this builder
-
riskLevel
public RecommendationSummary.Builder riskLevel(RiskLevel riskLevel)
The risk level of the problem- Parameters:
riskLevel- the value to set- Returns:
- this builder
-
problemCount
public RecommendationSummary.Builder problemCount(Long problemCount)
Count number of the problem- Parameters:
problemCount- the value to set- Returns:
- this builder
-
lifecycleState
public RecommendationSummary.Builder lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the recommendation- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetail
public RecommendationSummary.Builder lifecycleDetail(RecommendationLifecycleDetail lifecycleDetail)
Additional details on the substate of the lifecycle state- Parameters:
lifecycleDetail- the value to set- Returns:
- this builder
-
timeCreated
public RecommendationSummary.Builder timeCreated(Date timeCreated)
The date and time the problem was first created- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public RecommendationSummary.Builder timeUpdated(Date timeUpdated)
The date and time the problem was last updated- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
name
public RecommendationSummary.Builder name(String name)
Recommendation string that appears in the UI for the problem- Parameters:
name- the value to set- Returns:
- this builder
-
description
public RecommendationSummary.Builder description(String description)
Description of the recommendation- Parameters:
description- the value to set- Returns:
- this builder
-
build
public RecommendationSummary build()
-
copy
public RecommendationSummary.Builder copy(RecommendationSummary model)
-
-