Package com.oracle.bmc.cloudguard.model
Class TargetDetectorRecipeDetectorRule.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudguard.model.TargetDetectorRecipeDetectorRule.Builder
-
- Enclosing class:
- TargetDetectorRecipeDetectorRule
public static class TargetDetectorRecipeDetectorRule.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
detectorRuleId
public TargetDetectorRecipeDetectorRule.Builder detectorRuleId(String detectorRuleId)
The unique identifier of the detector rule- Parameters:
detectorRuleId
- the value to set- Returns:
- this builder
-
displayName
public TargetDetectorRecipeDetectorRule.Builder displayName(String displayName)
Display name for TargetDetectorRecipeDetectorRule resource- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public TargetDetectorRecipeDetectorRule.Builder description(String description)
Description for TargetDetectorRecipeDetectorRule resource- Parameters:
description
- the value to set- Returns:
- this builder
-
recommendation
public TargetDetectorRecipeDetectorRule.Builder recommendation(String recommendation)
Recommendation for TargetDetectorRecipeDetectorRule resource- Parameters:
recommendation
- the value to set- Returns:
- this builder
-
detector
public TargetDetectorRecipeDetectorRule.Builder detector(DetectorEnum detector)
Detector type for the rule- Parameters:
detector
- the value to set- Returns:
- this builder
-
serviceType
public TargetDetectorRecipeDetectorRule.Builder serviceType(String serviceType)
Service type of the configuration to which the rule is applied- Parameters:
serviceType
- the value to set- Returns:
- this builder
-
resourceType
public TargetDetectorRecipeDetectorRule.Builder resourceType(String resourceType)
The type of resource which is monitored by the detector rule.For example, Instance, Database, VCN, Policy. To find the resource type for a particular rule, see [Detector Recipe Reference] (/iaas/cloud-guard/using/detect-recipes.htm#detect-recipes-reference).
Or try [Detector Recipe Reference] (/cloud-guard/using/detect-recipes.htm#detect-recipes-reference).
- Parameters:
resourceType
- the value to set- Returns:
- this builder
-
details
public TargetDetectorRecipeDetectorRule.Builder details(TargetDetectorDetails details)
-
managedListTypes
public TargetDetectorRecipeDetectorRule.Builder managedListTypes(List<TargetDetectorRecipeDetectorRule.ManagedListTypes> managedListTypes)
List of managed list types related to this rule- Parameters:
managedListTypes
- the value to set- Returns:
- this builder
-
timeCreated
public TargetDetectorRecipeDetectorRule.Builder timeCreated(Date timeCreated)
The date and time the target detector recipe rule was created.Format defined by RFC3339.
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public TargetDetectorRecipeDetectorRule.Builder timeUpdated(Date timeUpdated)
The date and time the target detector recipe rule was last updated.Format defined by RFC3339.
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
lifecycleState
public TargetDetectorRecipeDetectorRule.Builder lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the detector rule- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public TargetDetectorRecipeDetectorRule.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.For example, can be used to provide actionable information for a resource in Failed state.
- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
dataSourceId
public TargetDetectorRecipeDetectorRule.Builder dataSourceId(String dataSourceId)
The ID of the attached data source- Parameters:
dataSourceId
- the value to set- Returns:
- this builder
-
entitiesMappings
public TargetDetectorRecipeDetectorRule.Builder entitiesMappings(List<EntitiesMapping> entitiesMappings)
Data source entities mapping for a detector rule- Parameters:
entitiesMappings
- the value to set- Returns:
- this builder
-
locks
public TargetDetectorRecipeDetectorRule.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.- Parameters:
locks
- the value to set- Returns:
- this builder
-
build
public TargetDetectorRecipeDetectorRule build()
-
copy
public TargetDetectorRecipeDetectorRule.Builder copy(TargetDetectorRecipeDetectorRule model)
-
-