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