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)
Configuration details
|
DetectorDetails.Builder |
copy(DetectorDetails model) |
DetectorDetails.Builder |
isConfigurationAllowed(Boolean isConfigurationAllowed)
configuration allowed or not
|
DetectorDetails.Builder |
isEnabled(Boolean isEnabled)
Enables the control
|
DetectorDetails.Builder |
labels(List<String> labels)
user defined labels for a detector rule
|
DetectorDetails.Builder |
problemThreshold(Integer problemThreshold)
Cutover point for an elevated resource Risk Score to create a Problem
|
DetectorDetails.Builder |
riskLevel(RiskLevel riskLevel)
The Risk Level
|
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)
Enables the control
isEnabled
- the value to setpublic DetectorDetails.Builder riskLevel(RiskLevel riskLevel)
The Risk Level
riskLevel
- the value to setpublic DetectorDetails.Builder configurations(List<DetectorConfiguration> configurations)
Configuration details
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)
configuration allowed or not
isConfigurationAllowed
- the value to setpublic DetectorDetails.Builder problemThreshold(Integer problemThreshold)
Cutover point for an elevated resource Risk Score to create 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 build()
public DetectorDetails.Builder copy(DetectorDetails model)
Copyright © 2016–2023. All rights reserved.