public static class CreateDetectorRuleDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreateDetectorRuleDetails.Builder sourceDetectorRuleId(String sourceDetectorRuleId)
ID of source detector rule
sourceDetectorRuleId
- the value to setpublic CreateDetectorRuleDetails.Builder name(String name)
Name of the detector rule
name
- the value to setpublic CreateDetectorRuleDetails.Builder description(String description)
Description of the detector rule
description
- the value to setpublic CreateDetectorRuleDetails.Builder isEnabled(Boolean isEnabled)
Enablement state of the detector rule
isEnabled
- the value to setpublic CreateDetectorRuleDetails.Builder riskLevel(RiskLevel riskLevel)
The risk level for the detector rule
riskLevel
- the value to setpublic CreateDetectorRuleDetails.Builder configurations(List<DetectorConfiguration> configurations)
List of detector rule configurations
configurations
- the value to setpublic CreateDetectorRuleDetails.Builder condition(Condition condition)
public CreateDetectorRuleDetails.Builder labels(List<String> labels)
User-defined labels for the detector rule
labels
- the value to setpublic CreateDetectorRuleDetails.Builder recommendation(String recommendation)
Recommendations for the detector rule
recommendation
- the value to setpublic CreateDetectorRuleDetails.Builder dataSourceId(String dataSourceId)
OCID of the data source which is attached
dataSourceId
- the value to setpublic CreateDetectorRuleDetails.Builder entitiesMappings(List<EntitiesMapping> entitiesMappings)
Data source entities mapping for the detector rule
entitiesMappings
- the value to setpublic CreateDetectorRuleDetails build()
public CreateDetectorRuleDetails.Builder copy(CreateDetectorRuleDetails model)
Copyright © 2016–2024. All rights reserved.