public static class UpdateDetectorRuleDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public UpdateDetectorRuleDetails.Builder isEnabled(Boolean isEnabled)
Enablement status of the detector rule
isEnabled
- the value to setpublic UpdateDetectorRuleDetails.Builder riskLevel(RiskLevel riskLevel)
The risk level of the detector rule
riskLevel
- the value to setpublic UpdateDetectorRuleDetails.Builder configurations(List<DetectorConfiguration> configurations)
List of detector rule configurations
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 the detector rule
description
- the value to setpublic UpdateDetectorRuleDetails.Builder recommendation(String recommendation)
Recommendation for the detector rule
recommendation
- the value to setpublic UpdateDetectorRuleDetails.Builder dataSourceId(String dataSourceId)
The unique identifier of the attached data source
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–2024. All rights reserved.