public static class UpdateDetectorRuleDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public UpdateDetectorRuleDetails.Builder isEnabled(Boolean isEnabled)
Enables the control
isEnabled
- the value to setpublic UpdateDetectorRuleDetails.Builder riskLevel(RiskLevel riskLevel)
The Risk Level
riskLevel
- the value to setpublic UpdateDetectorRuleDetails.Builder configurations(List<DetectorConfiguration> configurations)
Configuration details
configurations
- the value to setpublic UpdateDetectorRuleDetails.Builder condition(Condition condition)
public UpdateDetectorRuleDetails.Builder labels(List<String> labels)
user defined labels for a detector rule
labels
- the value to setpublic UpdateDetectorRuleDetails.Builder description(String description)
Description for DetectorRecipeDetectorRule.
description
- the value to setpublic UpdateDetectorRuleDetails.Builder recommendation(String recommendation)
Recommendation for DetectorRecipeDetectorRule
recommendation
- the value to setpublic UpdateDetectorRuleDetails.Builder dataSourceId(String dataSourceId)
The id of the attached DataSource.
dataSourceId
- the value to setpublic UpdateDetectorRuleDetails.Builder entitiesMappings(List<EntitiesMapping> entitiesMappings)
Data Source entities mapping for a Detector Rule
entitiesMappings
- the value to setpublic UpdateDetectorRuleDetails build()
public UpdateDetectorRuleDetails.Builder copy(UpdateDetectorRuleDetails model)
Copyright © 2016–2023. All rights reserved.