public static class UpdateAlertPolicyDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UpdateAlertPolicyDetails |
build() |
UpdateAlertPolicyDetails.Builder |
copy(UpdateAlertPolicyDetails model) |
UpdateAlertPolicyDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
UpdateAlertPolicyDetails.Builder |
description(String description)
The description of the alert policy.
|
UpdateAlertPolicyDetails.Builder |
displayName(String displayName)
The display name of the alert policy.
|
UpdateAlertPolicyDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
UpdateAlertPolicyDetails.Builder |
severity(AlertSeverity severity)
Severity level of the alert raised by this policy.
|
public UpdateAlertPolicyDetails.Builder displayName(String displayName)
The display name of the alert policy. The name does not have to be unique, and it’s changeable.
displayName
- the value to setpublic UpdateAlertPolicyDetails.Builder description(String description)
The description of the alert policy.
description
- the value to setpublic UpdateAlertPolicyDetails.Builder severity(AlertSeverity severity)
Severity level of the alert raised by this policy.
severity
- the value to setpublic UpdateAlertPolicyDetails.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags
Example: {"Department": "Finance"}
freeformTags
- the value to setpublic UpdateAlertPolicyDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags
Example: {"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic UpdateAlertPolicyDetails build()
public UpdateAlertPolicyDetails.Builder copy(UpdateAlertPolicyDetails model)
Copyright © 2016–2024. All rights reserved.