Package com.oracle.bmc.cloudguard.model
Class DetectorDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudguard.model.DetectorDetails.Builder
-
- Enclosing class:
- DetectorDetails
public static class DetectorDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DetectorDetailsbuild()DetectorDetails.Buildercondition(Condition condition)DetectorDetails.Builderconfigurations(List<DetectorConfiguration> configurations)List of detector rule configurationsDetectorDetails.Buildercopy(DetectorDetails model)DetectorDetails.BuilderdataSourceId(String dataSourceId)The ID of the attached data sourceDetectorDetails.Builderdescription(String description)Description for detector recipe detector ruleDetectorDetails.BuilderentitiesMappings(List<EntitiesMapping> entitiesMappings)Data source entities mapping for a detector ruleDetectorDetails.BuilderisConfigurationAllowed(Boolean isConfigurationAllowed)Can the rule be configured?DetectorDetails.BuilderisEnabled(Boolean isEnabled)Enablement status for the ruleDetectorDetails.Builderlabels(List<String> labels)User-defined labels for a detector ruleDetectorDetails.BuilderproblemThreshold(Integer problemThreshold)The point at which an elevated resource risk score creates a problemDetectorDetails.Builderrecommendation(String recommendation)Recommendation for detector recipe detector ruleDetectorDetails.BuilderriskLevel(RiskLevel riskLevel)The risk level for the ruleDetectorDetails.BuildersightingTypes(List<SightingType> sightingTypes)List of sighting typesDetectorDetails.BuildertargetTypes(List<String> targetTypes)List of target types for which the detector rule is applicable
-
-
-
Method Detail
-
isEnabled
public DetectorDetails.Builder isEnabled(Boolean isEnabled)
Enablement status for the rule- Parameters:
isEnabled- the value to set- Returns:
- this builder
-
riskLevel
public DetectorDetails.Builder riskLevel(RiskLevel riskLevel)
The risk level for the rule- Parameters:
riskLevel- the value to set- Returns:
- this builder
-
configurations
public DetectorDetails.Builder configurations(List<DetectorConfiguration> configurations)
List of detector rule configurations- Parameters:
configurations- the value to set- Returns:
- this builder
-
condition
public DetectorDetails.Builder condition(Condition condition)
-
labels
public DetectorDetails.Builder labels(List<String> labels)
User-defined labels for a detector rule- Parameters:
labels- the value to set- Returns:
- this builder
-
isConfigurationAllowed
public DetectorDetails.Builder isConfigurationAllowed(Boolean isConfigurationAllowed)
Can the rule be configured?- Parameters:
isConfigurationAllowed- the value to set- Returns:
- this builder
-
problemThreshold
public DetectorDetails.Builder problemThreshold(Integer problemThreshold)
The point at which an elevated resource risk score creates a problem- Parameters:
problemThreshold- the value to set- Returns:
- this builder
-
targetTypes
public DetectorDetails.Builder targetTypes(List<String> targetTypes)
List of target types for which the detector rule is applicable- Parameters:
targetTypes- the value to set- Returns:
- this builder
-
sightingTypes
public DetectorDetails.Builder sightingTypes(List<SightingType> sightingTypes)
List of sighting types- Parameters:
sightingTypes- the value to set- Returns:
- this builder
-
description
public DetectorDetails.Builder description(String description)
Description for detector recipe detector rule- Parameters:
description- the value to set- Returns:
- this builder
-
recommendation
public DetectorDetails.Builder recommendation(String recommendation)
Recommendation for detector recipe detector rule- Parameters:
recommendation- the value to set- Returns:
- this builder
-
dataSourceId
public DetectorDetails.Builder dataSourceId(String dataSourceId)
The ID of the attached data source- Parameters:
dataSourceId- the value to set- Returns:
- this builder
-
entitiesMappings
public DetectorDetails.Builder entitiesMappings(List<EntitiesMapping> entitiesMappings)
Data source entities mapping for a detector rule- Parameters:
entitiesMappings- the value to set- Returns:
- this builder
-
build
public DetectorDetails build()
-
copy
public DetectorDetails.Builder copy(DetectorDetails model)
-
-