public static class TargetDetectorRecipeDetectorRule.Builder extends Object
Constructor and Description |
---|
Builder() |
public TargetDetectorRecipeDetectorRule.Builder detectorRuleId(String detectorRuleId)
The unique identifier of the detector rule
detectorRuleId
- the value to setpublic TargetDetectorRecipeDetectorRule.Builder displayName(String displayName)
Display name for TargetDetectorRecipeDetectorRule resource
displayName
- the value to setpublic TargetDetectorRecipeDetectorRule.Builder description(String description)
Description for TargetDetectorRecipeDetectorRule resource
description
- the value to setpublic TargetDetectorRecipeDetectorRule.Builder recommendation(String recommendation)
Recommendation for TargetDetectorRecipeDetectorRule resource
recommendation
- the value to setpublic TargetDetectorRecipeDetectorRule.Builder detector(DetectorEnum detector)
Detector type for the rule
detector
- the value to setpublic TargetDetectorRecipeDetectorRule.Builder serviceType(String serviceType)
Service type of the configuration to which the rule is applied
serviceType
- the value to setpublic 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).
resourceType
- the value to setpublic TargetDetectorRecipeDetectorRule.Builder details(TargetDetectorDetails details)
public TargetDetectorRecipeDetectorRule.Builder managedListTypes(List<TargetDetectorRecipeDetectorRule.ManagedListTypes> managedListTypes)
List of managed list types related to this rule
managedListTypes
- the value to setpublic TargetDetectorRecipeDetectorRule.Builder timeCreated(Date timeCreated)
The date and time the target detector recipe rule was created. Format defined by RFC3339.
timeCreated
- the value to setpublic TargetDetectorRecipeDetectorRule.Builder timeUpdated(Date timeUpdated)
The date and time the target detector recipe rule was last updated. Format defined by RFC3339.
timeUpdated
- the value to setpublic TargetDetectorRecipeDetectorRule.Builder lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the detector rule
lifecycleState
- the value to setpublic 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.
lifecycleDetails
- the value to setpublic TargetDetectorRecipeDetectorRule.Builder dataSourceId(String dataSourceId)
The ID of the attached data source
dataSourceId
- the value to setpublic TargetDetectorRecipeDetectorRule.Builder entitiesMappings(List<EntitiesMapping> entitiesMappings)
Data source entities mapping for a detector rule
entitiesMappings
- the value to setpublic TargetDetectorRecipeDetectorRule.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.
locks
- the value to setpublic TargetDetectorRecipeDetectorRule build()
public TargetDetectorRecipeDetectorRule.Builder copy(TargetDetectorRecipeDetectorRule model)
Copyright © 2016–2024. All rights reserved.