public static class UpdateAlertDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UpdateAlertDetails |
build() |
UpdateAlertDetails.Builder |
comment(String comment)
A comment can be entered to track the alert changes done by the user.
|
UpdateAlertDetails.Builder |
copy(UpdateAlertDetails model) |
UpdateAlertDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
UpdateAlertDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
UpdateAlertDetails.Builder |
status(AlertStatus status)
The status of the alert.
|
public UpdateAlertDetails.Builder comment(String comment)
A comment can be entered to track the alert changes done by the user.
comment
- the value to setpublic UpdateAlertDetails.Builder status(AlertStatus status)
The status of the alert.
status
- the value to setpublic UpdateAlertDetails.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 UpdateAlertDetails.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 UpdateAlertDetails build()
public UpdateAlertDetails.Builder copy(UpdateAlertDetails model)
Copyright © 2016–2024. All rights reserved.