Package com.oracle.bmc.cloudguard.model
Class DetectorRecipeDetectorRule.Builder
- java.lang.Object
- 
- com.oracle.bmc.cloudguard.model.DetectorRecipeDetectorRule.Builder
 
- 
- Enclosing class:
- DetectorRecipeDetectorRule
 
 public static class DetectorRecipeDetectorRule.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DetectorRecipeDetectorRulebuild()DetectorRecipeDetectorRule.BuildercandidateResponderRules(List<CandidateResponderRule> candidateResponderRules)List of responder rules that can be used to remediate this detector ruleDetectorRecipeDetectorRule.Buildercopy(DetectorRecipeDetectorRule model)DetectorRecipeDetectorRule.BuilderdataSourceId(String dataSourceId)The unique identifier of the attached data sourceDetectorRecipeDetectorRule.Builderdescription(String description)Description for DetectorRecipeDetectorRule resourceDetectorRecipeDetectorRule.Builderdetails(DetectorDetails details)DetectorRecipeDetectorRule.Builderdetector(DetectorEnum detector)Detector recipe for the ruleDetectorRecipeDetectorRule.BuilderdetectorRuleId(String detectorRuleId)The unique identifier of the detector rule.DetectorRecipeDetectorRule.BuilderdisplayName(String displayName)Display name for DetectorRecipeDetectorRule resourceDetectorRecipeDetectorRule.BuilderentitiesMappings(List<EntitiesMapping> entitiesMappings)Data source entities mapping for the detector ruleDetectorRecipeDetectorRule.BuilderisCloneable(Boolean isCloneable)Is the rule cloneable?DetectorRecipeDetectorRule.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.DetectorRecipeDetectorRule.BuilderlifecycleState(LifecycleState lifecycleState)The current lifecycle state of the detector rule.DetectorRecipeDetectorRule.Builderlocks(List<ResourceLock> locks)Locks associated with this resource.DetectorRecipeDetectorRule.BuildermanagedListTypes(List<DetectorRecipeDetectorRule.ManagedListTypes> managedListTypes)List of managed list types related to this ruleDetectorRecipeDetectorRule.Builderrecommendation(String recommendation)Recommendation for DetectorRecipeDetectorRule resourceDetectorRecipeDetectorRule.BuilderresourceType(String resourceType)Resource type of the configuration to which the rule is appliedDetectorRecipeDetectorRule.BuilderruleType(List<RuleType> ruleType)Detector rule typeDetectorRecipeDetectorRule.BuilderserviceType(String serviceType)Service type of the configuration to which the rule is appliedDetectorRecipeDetectorRule.BuildertimeCreated(Date timeCreated)The date and time the detector recipe rule was created.DetectorRecipeDetectorRule.BuildertimeUpdated(Date timeUpdated)The date and time the detector recipe rule was last updated.
 
- 
- 
- 
Method Detail- 
detectorRuleIdpublic DetectorRecipeDetectorRule.Builder detectorRuleId(String detectorRuleId) The unique identifier of the detector rule.- Parameters:
- detectorRuleId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic DetectorRecipeDetectorRule.Builder displayName(String displayName) Display name for DetectorRecipeDetectorRule resource- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic DetectorRecipeDetectorRule.Builder description(String description) Description for DetectorRecipeDetectorRule resource- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
recommendationpublic DetectorRecipeDetectorRule.Builder recommendation(String recommendation) Recommendation for DetectorRecipeDetectorRule resource- Parameters:
- recommendation- the value to set
- Returns:
- this builder
 
 - 
detectorpublic DetectorRecipeDetectorRule.Builder detector(DetectorEnum detector) Detector recipe for the rule- Parameters:
- detector- the value to set
- Returns:
- this builder
 
 - 
serviceTypepublic DetectorRecipeDetectorRule.Builder serviceType(String serviceType) Service type of the configuration to which the rule is applied- Parameters:
- serviceType- the value to set
- Returns:
- this builder
 
 - 
resourceTypepublic DetectorRecipeDetectorRule.Builder resourceType(String resourceType) Resource type of the configuration to which the rule is applied- Parameters:
- resourceType- the value to set
- Returns:
- this builder
 
 - 
ruleTypepublic DetectorRecipeDetectorRule.Builder ruleType(List<RuleType> ruleType) Detector rule type- Parameters:
- ruleType- the value to set
- Returns:
- this builder
 
 - 
isCloneablepublic DetectorRecipeDetectorRule.Builder isCloneable(Boolean isCloneable) Is the rule cloneable?- Parameters:
- isCloneable- the value to set
- Returns:
- this builder
 
 - 
detailspublic DetectorRecipeDetectorRule.Builder details(DetectorDetails details) 
 - 
managedListTypespublic DetectorRecipeDetectorRule.Builder managedListTypes(List<DetectorRecipeDetectorRule.ManagedListTypes> managedListTypes) List of managed list types related to this rule- Parameters:
- managedListTypes- the value to set
- Returns:
- this builder
 
 - 
candidateResponderRulespublic DetectorRecipeDetectorRule.Builder candidateResponderRules(List<CandidateResponderRule> candidateResponderRules) List of responder rules that can be used to remediate this detector rule- Parameters:
- candidateResponderRules- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic DetectorRecipeDetectorRule.Builder timeCreated(Date timeCreated) The date and time the detector recipe rule was created.Format defined by RFC3339. - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic DetectorRecipeDetectorRule.Builder timeUpdated(Date timeUpdated) The date and time the detector recipe rule was last updated.Format defined by RFC3339. - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic DetectorRecipeDetectorRule.Builder lifecycleState(LifecycleState lifecycleState) The current lifecycle state of the detector rule.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic DetectorRecipeDetectorRule.Builder lifecycleDetails(String lifecycleDetails) A message describing the current state in more detail.For example, can be used to provide actionable information for a resource in Failed state. - Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
dataSourceIdpublic DetectorRecipeDetectorRule.Builder dataSourceId(String dataSourceId) The unique identifier of the attached data source- Parameters:
- dataSourceId- the value to set
- Returns:
- this builder
 
 - 
entitiesMappingspublic DetectorRecipeDetectorRule.Builder entitiesMappings(List<EntitiesMapping> entitiesMappings) Data source entities mapping for the detector rule- Parameters:
- entitiesMappings- the value to set
- Returns:
- this builder
 
 - 
lockspublic DetectorRecipeDetectorRule.Builder locks(List<ResourceLock> locks) Locks associated with this resource.- Parameters:
- locks- the value to set
- Returns:
- this builder
 
 - 
buildpublic DetectorRecipeDetectorRule build() 
 - 
copypublic DetectorRecipeDetectorRule.Builder copy(DetectorRecipeDetectorRule model) 
 
- 
 
-