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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll 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- 
idpublic RecommendationSummary.Builder id(String id) Unique identifier for the recommendation- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
typepublic RecommendationSummary.Builder type(RecommendationType type) Recommendation type- Parameters:
- type- the value to set
- Returns:
- this builder
 
 - 
tenantIdpublic RecommendationSummary.Builder tenantId(String tenantId) Tenant identifier- Parameters:
- tenantId- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic RecommendationSummary.Builder compartmentId(String compartmentId) Compartment OCID- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
targetIdpublic RecommendationSummary.Builder targetId(String targetId) Target ID associated with the problem- Parameters:
- targetId- the value to set
- Returns:
- this builder
 
 - 
detailspublic RecommendationSummary.Builder details(Map<String,String> details) Recommendation details- Parameters:
- details- the value to set
- Returns:
- this builder
 
 - 
riskLevelpublic RecommendationSummary.Builder riskLevel(RiskLevel riskLevel) The risk level of the problem- Parameters:
- riskLevel- the value to set
- Returns:
- this builder
 
 - 
problemCountpublic RecommendationSummary.Builder problemCount(Long problemCount) Count number of the problem- Parameters:
- problemCount- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic RecommendationSummary.Builder lifecycleState(LifecycleState lifecycleState) The current lifecycle state of the recommendation- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailpublic RecommendationSummary.Builder lifecycleDetail(RecommendationLifecycleDetail lifecycleDetail) Additional details on the substate of the lifecycle state- Parameters:
- lifecycleDetail- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic RecommendationSummary.Builder timeCreated(Date timeCreated) The date and time the problem was first created- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic RecommendationSummary.Builder timeUpdated(Date timeUpdated) The date and time the problem was last updated- Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
namepublic RecommendationSummary.Builder name(String name) Recommendation string that appears in the UI for the problem- Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic RecommendationSummary.Builder description(String description) Description of the recommendation- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
buildpublic RecommendationSummary build() 
 - 
copypublic RecommendationSummary.Builder copy(RecommendationSummary model) 
 
- 
 
-