public static class AlertPolicyRuleSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AlertPolicyRuleSummary |
build() |
AlertPolicyRuleSummary.Builder |
copy(AlertPolicyRuleSummary model) |
AlertPolicyRuleSummary.Builder |
description(String description)
Describes the alert policy rule.
|
AlertPolicyRuleSummary.Builder |
displayName(String displayName)
The display name of the alert policy rule.
|
AlertPolicyRuleSummary.Builder |
expression(String expression)
The conditional expression of the alert policy rule which evaluates to boolean value.
|
AlertPolicyRuleSummary.Builder |
key(String key)
The unique key of the alert policy rule.
|
AlertPolicyRuleSummary.Builder |
lifecycleState(AlertPolicyRuleLifecycleState lifecycleState)
The current state of the alert policy rule.
|
AlertPolicyRuleSummary.Builder |
timeCreated(Date timeCreated)
Creation date and time of the alert policy rule, in the format defined by
RFC3339.
|
public AlertPolicyRuleSummary.Builder key(String key)
The unique key of the alert policy rule.
key
- the value to setpublic AlertPolicyRuleSummary.Builder description(String description)
Describes the alert policy rule.
description
- the value to setpublic AlertPolicyRuleSummary.Builder expression(String expression)
The conditional expression of the alert policy rule which evaluates to boolean value.
expression
- the value to setpublic AlertPolicyRuleSummary.Builder lifecycleState(AlertPolicyRuleLifecycleState lifecycleState)
The current state of the alert policy rule.
lifecycleState
- the value to setpublic AlertPolicyRuleSummary.Builder displayName(String displayName)
The display name of the alert policy rule.
displayName
- the value to setpublic AlertPolicyRuleSummary.Builder timeCreated(Date timeCreated)
Creation date and time of the alert policy rule, in the format defined by RFC3339.
timeCreated
- the value to setpublic AlertPolicyRuleSummary build()
public AlertPolicyRuleSummary.Builder copy(AlertPolicyRuleSummary model)
Copyright © 2016–2024. All rights reserved.