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. information.
displayName
- the value to setpublic TargetDetectorRecipeDetectorRule.Builder description(String description)
Description for TargetDetectorRecipeDetectorRule. information.
description
- the value to setpublic TargetDetectorRecipeDetectorRule.Builder recommendation(String recommendation)
Recommendation for TargetDetectorRecipeDetectorRule
recommendation
- the value to setpublic TargetDetectorRecipeDetectorRule.Builder detector(DetectorEnum detector)
detector 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)
resource type of the configuration to which the rule is applied
resourceType
- the value to setpublic TargetDetectorRecipeDetectorRule.Builder details(TargetDetectorDetails details)
public TargetDetectorRecipeDetectorRule.Builder managedListTypes(List<TargetDetectorRecipeDetectorRule.ManagedListTypes> managedListTypes)
List of cloudguard 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 updated. Format defined by RFC3339.
timeUpdated
- the value to setpublic TargetDetectorRecipeDetectorRule.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the DetectorRule.
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 DataSource.
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 build()
public TargetDetectorRecipeDetectorRule.Builder copy(TargetDetectorRecipeDetectorRule model)
Copyright © 2016–2023. All rights reserved.