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