public static class DetectorRuleSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DetectorRuleSummary |
build() |
DetectorRuleSummary.Builder |
candidateResponderRules(List<CandidateResponderRule> candidateResponderRules)
List of responder rules that can be used to remediate a problem triggered by this
detector rule
|
DetectorRuleSummary.Builder |
copy(DetectorRuleSummary model) |
DetectorRuleSummary.Builder |
description(String description)
Description for the detector rule
|
DetectorRuleSummary.Builder |
detector(DetectorEnum detector)
Possible types of detectors
|
DetectorRuleSummary.Builder |
detectorDetails(DetectorDetails detectorDetails) |
DetectorRuleSummary.Builder |
displayName(String displayName)
Display name for the detector rule
|
DetectorRuleSummary.Builder |
id(String id)
The unique identifier of the detector rule
|
DetectorRuleSummary.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
DetectorRuleSummary.Builder |
lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the detector rule
|
DetectorRuleSummary.Builder |
managedListTypes(List<DetectorRuleSummary.ManagedListTypes> managedListTypes)
List of managed list types related to this rule
|
DetectorRuleSummary.Builder |
recommendation(String recommendation)
Recommendation for the detector rule
|
DetectorRuleSummary.Builder |
resourceType(String resourceType)
Resource type of the configuration to which the rule is applied
|
DetectorRuleSummary.Builder |
serviceType(String serviceType)
Service type of the configuration to which the rule is applied
|
DetectorRuleSummary.Builder |
timeCreated(Date timeCreated)
The date and time the detector rule was first created.
|
DetectorRuleSummary.Builder |
timeUpdated(Date timeUpdated)
The date and time the detector rule was last updated.
|
public DetectorRuleSummary.Builder id(String id)
The unique identifier of the detector rule
id
- the value to setpublic DetectorRuleSummary.Builder displayName(String displayName)
Display name for the detector rule
displayName
- the value to setpublic DetectorRuleSummary.Builder description(String description)
Description for the detector rule
description
- the value to setpublic DetectorRuleSummary.Builder recommendation(String recommendation)
Recommendation for the detector rule
recommendation
- the value to setpublic DetectorRuleSummary.Builder detector(DetectorEnum detector)
Possible types of detectors
detector
- the value to setpublic DetectorRuleSummary.Builder serviceType(String serviceType)
Service type of the configuration to which the rule is applied
serviceType
- the value to setpublic DetectorRuleSummary.Builder resourceType(String resourceType)
Resource type of the configuration to which the rule is applied
resourceType
- the value to setpublic DetectorRuleSummary.Builder managedListTypes(List<DetectorRuleSummary.ManagedListTypes> managedListTypes)
List of managed list types related to this rule
managedListTypes
- the value to setpublic DetectorRuleSummary.Builder candidateResponderRules(List<CandidateResponderRule> candidateResponderRules)
List of responder rules that can be used to remediate a problem triggered by this detector rule
candidateResponderRules
- the value to setpublic DetectorRuleSummary.Builder detectorDetails(DetectorDetails detectorDetails)
public DetectorRuleSummary.Builder timeCreated(Date timeCreated)
The date and time the detector rule was first created. Format defined by RFC3339.
timeCreated
- the value to setpublic DetectorRuleSummary.Builder timeUpdated(Date timeUpdated)
The date and time the detector rule was last updated. Format defined by RFC3339.
timeUpdated
- the value to setpublic DetectorRuleSummary.Builder lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the detector rule
lifecycleState
- the value to setpublic DetectorRuleSummary.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 DetectorRuleSummary build()
public DetectorRuleSummary.Builder copy(DetectorRuleSummary model)
Copyright © 2016–2024. All rights reserved.