public static class TargetDetectorDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TargetDetectorDetails |
build() |
TargetDetectorDetails.Builder |
conditionGroups(List<ConditionGroup> conditionGroups)
Condition group corresponding to each compartment
|
TargetDetectorDetails.Builder |
configurations(List<DetectorConfiguration> configurations)
List of detector rule configurations
|
TargetDetectorDetails.Builder |
copy(TargetDetectorDetails model) |
TargetDetectorDetails.Builder |
isConfigurationAllowed(Boolean isConfigurationAllowed)
Configuration allowed or not
|
TargetDetectorDetails.Builder |
isEnabled(Boolean isEnabled)
Enablement state of the detector rule
|
TargetDetectorDetails.Builder |
labels(List<String> labels)
User-defined labels for a detector rule
|
TargetDetectorDetails.Builder |
problemThreshold(Integer problemThreshold)
Point at which an elevated resource risk score creates a problem
|
TargetDetectorDetails.Builder |
riskLevel(RiskLevel riskLevel)
The risk level of the detector rule
|
TargetDetectorDetails.Builder |
sightingTypes(List<SightingType> sightingTypes)
List of sighting types
|
TargetDetectorDetails.Builder |
targetTypes(List<String> targetTypes)
List of target types for which the detector rule is applicable
|
public TargetDetectorDetails.Builder isEnabled(Boolean isEnabled)
Enablement state of the detector rule
isEnabled
- the value to setpublic TargetDetectorDetails.Builder riskLevel(RiskLevel riskLevel)
The risk level of the detector rule
riskLevel
- the value to setpublic TargetDetectorDetails.Builder configurations(List<DetectorConfiguration> configurations)
List of detector rule configurations
configurations
- the value to setpublic TargetDetectorDetails.Builder conditionGroups(List<ConditionGroup> conditionGroups)
Condition group corresponding to each compartment
conditionGroups
- the value to setpublic TargetDetectorDetails.Builder labels(List<String> labels)
User-defined labels for a detector rule
labels
- the value to setpublic TargetDetectorDetails.Builder isConfigurationAllowed(Boolean isConfigurationAllowed)
Configuration allowed or not
isConfigurationAllowed
- the value to setpublic TargetDetectorDetails.Builder problemThreshold(Integer problemThreshold)
Point at which an elevated resource risk score creates a problem
problemThreshold
- the value to setpublic TargetDetectorDetails.Builder targetTypes(List<String> targetTypes)
List of target types for which the detector rule is applicable
targetTypes
- the value to setpublic TargetDetectorDetails.Builder sightingTypes(List<SightingType> sightingTypes)
List of sighting types
sightingTypes
- the value to setpublic TargetDetectorDetails build()
public TargetDetectorDetails.Builder copy(TargetDetectorDetails model)
Copyright © 2016–2024. All rights reserved.