public static class DetectorDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DetectorDetails |
build() |
DetectorDetails.Builder |
condition(Condition condition) |
DetectorDetails.Builder |
configurations(List<DetectorConfiguration> configurations)
List of detector rule configurations
|
DetectorDetails.Builder |
copy(DetectorDetails model) |
DetectorDetails.Builder |
dataSourceId(String dataSourceId)
The ID of the attached data source
|
DetectorDetails.Builder |
description(String description)
Description for detector recipe detector rule
|
DetectorDetails.Builder |
entitiesMappings(List<EntitiesMapping> entitiesMappings)
Data source entities mapping for a detector rule
|
DetectorDetails.Builder |
isConfigurationAllowed(Boolean isConfigurationAllowed)
Can the rule be configured?
|
DetectorDetails.Builder |
isEnabled(Boolean isEnabled)
Enablement status for the rule
|
DetectorDetails.Builder |
labels(List<String> labels)
User-defined labels for a detector rule
|
DetectorDetails.Builder |
problemThreshold(Integer problemThreshold)
The point at which an elevated resource risk score creates a problem
|
DetectorDetails.Builder |
recommendation(String recommendation)
Recommendation for detector recipe detector rule
|
DetectorDetails.Builder |
riskLevel(RiskLevel riskLevel)
The risk level for the rule
|
DetectorDetails.Builder |
sightingTypes(List<SightingType> sightingTypes)
List of sighting types
|
DetectorDetails.Builder |
targetTypes(List<String> targetTypes)
List of target types for which the detector rule is applicable
|
public DetectorDetails.Builder isEnabled(Boolean isEnabled)
Enablement status for the rule
isEnabled
- the value to setpublic DetectorDetails.Builder riskLevel(RiskLevel riskLevel)
The risk level for the rule
riskLevel
- the value to setpublic DetectorDetails.Builder configurations(List<DetectorConfiguration> configurations)
List of detector rule configurations
configurations
- the value to setpublic DetectorDetails.Builder condition(Condition condition)
public DetectorDetails.Builder labels(List<String> labels)
User-defined labels for a detector rule
labels
- the value to setpublic DetectorDetails.Builder isConfigurationAllowed(Boolean isConfigurationAllowed)
Can the rule be configured?
isConfigurationAllowed
- the value to setpublic DetectorDetails.Builder problemThreshold(Integer problemThreshold)
The point at which an elevated resource risk score creates a problem
problemThreshold
- the value to setpublic DetectorDetails.Builder targetTypes(List<String> targetTypes)
List of target types for which the detector rule is applicable
targetTypes
- the value to setpublic DetectorDetails.Builder sightingTypes(List<SightingType> sightingTypes)
List of sighting types
sightingTypes
- the value to setpublic DetectorDetails.Builder description(String description)
Description for detector recipe detector rule
description
- the value to setpublic DetectorDetails.Builder recommendation(String recommendation)
Recommendation for detector recipe detector rule
recommendation
- the value to setpublic DetectorDetails.Builder dataSourceId(String dataSourceId)
The ID of the attached data source
dataSourceId
- the value to setpublic DetectorDetails.Builder entitiesMappings(List<EntitiesMapping> entitiesMappings)
Data source entities mapping for a detector rule
entitiesMappings
- the value to setpublic DetectorDetails build()
public DetectorDetails.Builder copy(DetectorDetails model)
Copyright © 2016–2024. All rights reserved.