public static class AlertPolicyRule.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AlertPolicyRule |
build() |
AlertPolicyRule.Builder |
copy(AlertPolicyRule model) |
AlertPolicyRule.Builder |
description(String description)
Describes the alert policy rule.
|
AlertPolicyRule.Builder |
expression(String expression)
The conditional expression of the alert policy rule which evaluates to boolean value.
|
AlertPolicyRule.Builder |
key(String key)
The unique key of the alert policy rule.
|
public AlertPolicyRule.Builder key(String key)
The unique key of the alert policy rule.
key
- the value to setpublic AlertPolicyRule.Builder description(String description)
Describes the alert policy rule.
description
- the value to setpublic AlertPolicyRule.Builder expression(String expression)
The conditional expression of the alert policy rule which evaluates to boolean value.
expression
- the value to setpublic AlertPolicyRule build()
public AlertPolicyRule.Builder copy(AlertPolicyRule model)
Copyright © 2016–2024. All rights reserved.