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 Summary
Constructors Constructor Description Builder()
-
Method Summary
All 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
-
detectorRuleId
public DetectorRecipeDetectorRule.Builder detectorRuleId(String detectorRuleId)
The unique identifier of the detector rule.- Parameters:
detectorRuleId- the value to set- Returns:
- this builder
-
displayName
public DetectorRecipeDetectorRule.Builder displayName(String displayName)
Display name for DetectorRecipeDetectorRule resource- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public DetectorRecipeDetectorRule.Builder description(String description)
Description for DetectorRecipeDetectorRule resource- Parameters:
description- the value to set- Returns:
- this builder
-
recommendation
public DetectorRecipeDetectorRule.Builder recommendation(String recommendation)
Recommendation for DetectorRecipeDetectorRule resource- Parameters:
recommendation- the value to set- Returns:
- this builder
-
detector
public DetectorRecipeDetectorRule.Builder detector(DetectorEnum detector)
Detector recipe for the rule- Parameters:
detector- the value to set- Returns:
- this builder
-
serviceType
public 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
-
resourceType
public 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
-
ruleType
public DetectorRecipeDetectorRule.Builder ruleType(List<RuleType> ruleType)
Detector rule type- Parameters:
ruleType- the value to set- Returns:
- this builder
-
isCloneable
public DetectorRecipeDetectorRule.Builder isCloneable(Boolean isCloneable)
Is the rule cloneable?- Parameters:
isCloneable- the value to set- Returns:
- this builder
-
details
public DetectorRecipeDetectorRule.Builder details(DetectorDetails details)
-
managedListTypes
public 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
-
candidateResponderRules
public 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
-
timeCreated
public 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
-
timeUpdated
public 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
-
lifecycleState
public DetectorRecipeDetectorRule.Builder lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the detector rule.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public 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
-
dataSourceId
public DetectorRecipeDetectorRule.Builder dataSourceId(String dataSourceId)
The unique identifier of the attached data source- Parameters:
dataSourceId- the value to set- Returns:
- this builder
-
entitiesMappings
public DetectorRecipeDetectorRule.Builder entitiesMappings(List<EntitiesMapping> entitiesMappings)
Data source entities mapping for the detector rule- Parameters:
entitiesMappings- the value to set- Returns:
- this builder
-
locks
public DetectorRecipeDetectorRule.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.- Parameters:
locks- the value to set- Returns:
- this builder
-
build
public DetectorRecipeDetectorRule build()
-
copy
public DetectorRecipeDetectorRule.Builder copy(DetectorRecipeDetectorRule model)
-
-