public static class DetectorRecipeDetectorRuleSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
public DetectorRecipeDetectorRuleSummary.Builder id(String id)
The unique identifier of the detector rule
id
- the value to setpublic DetectorRecipeDetectorRuleSummary.Builder displayName(String displayName)
Display name of the detector rule
displayName
- the value to setpublic DetectorRecipeDetectorRuleSummary.Builder description(String description)
Description of the detector rule
description
- the value to setpublic DetectorRecipeDetectorRuleSummary.Builder recommendation(String recommendation)
Recommendation for the Display name of the detector rule
recommendation
- the value to setpublic DetectorRecipeDetectorRuleSummary.Builder detector(DetectorEnum detector)
Possible types of detectors
detector
- the value to setpublic DetectorRecipeDetectorRuleSummary.Builder serviceType(String serviceType)
Service type of the configuration to which the rule is applied
serviceType
- the value to setpublic DetectorRecipeDetectorRuleSummary.Builder resourceType(String resourceType)
Resource type of the configuration to which the rule is applied
resourceType
- the value to setpublic DetectorRecipeDetectorRuleSummary.Builder managedListTypes(List<DetectorRecipeDetectorRuleSummary.ManagedListTypes> managedListTypes)
List of managed list types related to this rule
managedListTypes
- the value to setpublic DetectorRecipeDetectorRuleSummary.Builder candidateResponderRules(List<CandidateResponderRule> candidateResponderRules)
List of responder rules that can be used to remediate problems triggered by this detector rule
candidateResponderRules
- the value to setpublic DetectorRecipeDetectorRuleSummary.Builder detectorDetails(DetectorDetails detectorDetails)
public DetectorRecipeDetectorRuleSummary.Builder timeCreated(Date timeCreated)
The date and time the detector recipe rule was created. Format defined by RFC3339.
timeCreated
- the value to setpublic DetectorRecipeDetectorRuleSummary.Builder timeUpdated(Date timeUpdated)
The date and time the detector recipe rule was last updated. Format defined by RFC3339.
timeUpdated
- the value to setpublic DetectorRecipeDetectorRuleSummary.Builder lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the detector recipe rule
lifecycleState
- the value to setpublic DetectorRecipeDetectorRuleSummary.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 DetectorRecipeDetectorRuleSummary.Builder dataSourceId(String dataSourceId)
The ID of the attached data source
dataSourceId
- the value to setpublic DetectorRecipeDetectorRuleSummary.Builder entitiesMappings(List<EntitiesMapping> entitiesMappings)
Data source entities mapping for the detector rule
entitiesMappings
- the value to setpublic DetectorRecipeDetectorRuleSummary build()
public DetectorRecipeDetectorRuleSummary.Builder copy(DetectorRecipeDetectorRuleSummary model)
Copyright © 2016–2024. All rights reserved.