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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DetectorDetailsbuild()DetectorDetails.Buildercondition(Condition condition)DetectorDetails.Builderconfigurations(List<DetectorConfiguration> configurations)List of detector rule configurationsDetectorDetails.Buildercopy(DetectorDetails model)DetectorDetails.BuilderdataSourceId(String dataSourceId)The ID of the attached data sourceDetectorDetails.Builderdescription(String description)Description for detector recipe detector ruleDetectorDetails.BuilderentitiesMappings(List<EntitiesMapping> entitiesMappings)Data source entities mapping for a detector ruleDetectorDetails.BuilderisConfigurationAllowed(Boolean isConfigurationAllowed)Can the rule be configured?DetectorDetails.BuilderisEnabled(Boolean isEnabled)Enablement status for the ruleDetectorDetails.Builderlabels(List<String> labels)User-defined labels for a detector ruleDetectorDetails.BuilderproblemThreshold(Integer problemThreshold)The point at which an elevated resource risk score creates a problemDetectorDetails.Builderrecommendation(String recommendation)Recommendation for detector recipe detector ruleDetectorDetails.BuilderriskLevel(RiskLevel riskLevel)The risk level for the ruleDetectorDetails.BuildersightingTypes(List<SightingType> sightingTypes)List of sighting typesDetectorDetails.BuildertargetTypes(List<String> targetTypes)List of target types for which the detector rule is applicable
 
- 
- 
- 
Method Detail- 
isEnabledpublic DetectorDetails.Builder isEnabled(Boolean isEnabled) Enablement status for the rule- Parameters:
- isEnabled- the value to set
- Returns:
- this builder
 
 - 
riskLevelpublic DetectorDetails.Builder riskLevel(RiskLevel riskLevel) The risk level for the rule- Parameters:
- riskLevel- the value to set
- Returns:
- this builder
 
 - 
configurationspublic DetectorDetails.Builder configurations(List<DetectorConfiguration> configurations) List of detector rule configurations- Parameters:
- configurations- the value to set
- Returns:
- this builder
 
 - 
conditionpublic DetectorDetails.Builder condition(Condition condition) 
 - 
labelspublic DetectorDetails.Builder labels(List<String> labels) User-defined labels for a detector rule- Parameters:
- labels- the value to set
- Returns:
- this builder
 
 - 
isConfigurationAllowedpublic DetectorDetails.Builder isConfigurationAllowed(Boolean isConfigurationAllowed) Can the rule be configured?- Parameters:
- isConfigurationAllowed- the value to set
- Returns:
- this builder
 
 - 
problemThresholdpublic 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
 
 - 
targetTypespublic 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
 
 - 
sightingTypespublic DetectorDetails.Builder sightingTypes(List<SightingType> sightingTypes) List of sighting types- Parameters:
- sightingTypes- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic DetectorDetails.Builder description(String description) Description for detector recipe detector rule- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
recommendationpublic DetectorDetails.Builder recommendation(String recommendation) Recommendation for detector recipe detector rule- Parameters:
- recommendation- the value to set
- Returns:
- this builder
 
 - 
dataSourceIdpublic DetectorDetails.Builder dataSourceId(String dataSourceId) The ID of the attached data source- Parameters:
- dataSourceId- the value to set
- Returns:
- this builder
 
 - 
entitiesMappingspublic DetectorDetails.Builder entitiesMappings(List<EntitiesMapping> entitiesMappings) Data source entities mapping for a detector rule- Parameters:
- entitiesMappings- the value to set
- Returns:
- this builder
 
 - 
buildpublic DetectorDetails build() 
 - 
copypublic DetectorDetails.Builder copy(DetectorDetails model) 
 
- 
 
-