Package com.oracle.bmc.cloudguard.model
Class TargetDetectorDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudguard.model.TargetDetectorDetails.Builder
-
- Enclosing class:
- TargetDetectorDetails
public static class TargetDetectorDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TargetDetectorDetailsbuild()TargetDetectorDetails.BuilderconditionGroups(List<ConditionGroup> conditionGroups)Condition group corresponding to each compartmentTargetDetectorDetails.Builderconfigurations(List<DetectorConfiguration> configurations)List of detector rule configurationsTargetDetectorDetails.Buildercopy(TargetDetectorDetails model)TargetDetectorDetails.BuilderisConfigurationAllowed(Boolean isConfigurationAllowed)Configuration allowed or notTargetDetectorDetails.BuilderisEnabled(Boolean isEnabled)Enablement state of the detector ruleTargetDetectorDetails.Builderlabels(List<String> labels)User-defined labels for a detector ruleTargetDetectorDetails.BuilderproblemThreshold(Integer problemThreshold)Point at which an elevated resource risk score creates a problemTargetDetectorDetails.BuilderriskLevel(RiskLevel riskLevel)The risk level of the detector ruleTargetDetectorDetails.BuildersightingTypes(List<SightingType> sightingTypes)List of sighting typesTargetDetectorDetails.BuildertargetTypes(List<String> targetTypes)List of target types for which the detector rule is applicable
-
-
-
Method Detail
-
isEnabled
public TargetDetectorDetails.Builder isEnabled(Boolean isEnabled)
Enablement state of the detector rule- Parameters:
isEnabled- the value to set- Returns:
- this builder
-
riskLevel
public TargetDetectorDetails.Builder riskLevel(RiskLevel riskLevel)
The risk level of the detector rule- Parameters:
riskLevel- the value to set- Returns:
- this builder
-
configurations
public TargetDetectorDetails.Builder configurations(List<DetectorConfiguration> configurations)
List of detector rule configurations- Parameters:
configurations- the value to set- Returns:
- this builder
-
conditionGroups
public TargetDetectorDetails.Builder conditionGroups(List<ConditionGroup> conditionGroups)
Condition group corresponding to each compartment- Parameters:
conditionGroups- the value to set- Returns:
- this builder
-
labels
public TargetDetectorDetails.Builder labels(List<String> labels)
User-defined labels for a detector rule- Parameters:
labels- the value to set- Returns:
- this builder
-
isConfigurationAllowed
public TargetDetectorDetails.Builder isConfigurationAllowed(Boolean isConfigurationAllowed)
Configuration allowed or not- Parameters:
isConfigurationAllowed- the value to set- Returns:
- this builder
-
problemThreshold
public TargetDetectorDetails.Builder problemThreshold(Integer problemThreshold)
Point at which an elevated resource risk score creates a problem- Parameters:
problemThreshold- the value to set- Returns:
- this builder
-
targetTypes
public TargetDetectorDetails.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 TargetDetectorDetails.Builder sightingTypes(List<SightingType> sightingTypes)
List of sighting types- Parameters:
sightingTypes- the value to set- Returns:
- this builder
-
build
public TargetDetectorDetails build()
-
copy
public TargetDetectorDetails.Builder copy(TargetDetectorDetails model)
-
-