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 DetectorDetails
build()
DetectorDetails.Builder
condition(Condition condition)
DetectorDetails.Builder
configurations(List<DetectorConfiguration> configurations)
List of detector rule configurationsDetectorDetails.Builder
copy(DetectorDetails model)
DetectorDetails.Builder
dataSourceId(String dataSourceId)
The ID of the attached data sourceDetectorDetails.Builder
description(String description)
Description for detector recipe detector ruleDetectorDetails.Builder
entitiesMappings(List<EntitiesMapping> entitiesMappings)
Data source entities mapping for a detector ruleDetectorDetails.Builder
isConfigurationAllowed(Boolean isConfigurationAllowed)
Can the rule be configured?DetectorDetails.Builder
isEnabled(Boolean isEnabled)
Enablement status for the ruleDetectorDetails.Builder
labels(List<String> labels)
User-defined labels for a detector ruleDetectorDetails.Builder
problemThreshold(Integer problemThreshold)
The point at which an elevated resource risk score creates a problemDetectorDetails.Builder
recommendation(String recommendation)
Recommendation for detector recipe detector ruleDetectorDetails.Builder
riskLevel(RiskLevel riskLevel)
The risk level for the ruleDetectorDetails.Builder
sightingTypes(List<SightingType> sightingTypes)
List of sighting typesDetectorDetails.Builder
targetTypes(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)
-
-