public static final class UpdateAlertRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
UpdateAlertRequest.Builder |
alertName(String alertName)
The ID of the alert rule.
|
UpdateAlertRequest |
build() |
UpdateAlertRequest.Builder |
configuration(AlertConfiguration configuration)
The detailed configurations of the alert rule.
|
UpdateAlertRequest.Builder |
description(String description)
The description of the alert rule.
|
UpdateAlertRequest.Builder |
displayName(String displayName)
The display name of the alert rule.
|
UpdateAlertRequest.Builder |
project(String project)
The name of the project.
|
UpdateAlertRequest.Builder |
schedule(Schedule schedule)
The scheduling settings of the alert rule.
|
public UpdateAlertRequest.Builder project(String project)
The name of the project.
This parameter is required.
example:ali-test-project
public UpdateAlertRequest.Builder alertName(String alertName)
The ID of the alert rule.
This parameter is required.
example:alert-0123456789-123456
public UpdateAlertRequest.Builder configuration(AlertConfiguration configuration)
The detailed configurations of the alert rule.
This parameter is required.
public UpdateAlertRequest.Builder description(String description)
The description of the alert rule.
example:this is description
public UpdateAlertRequest.Builder displayName(String displayName)
The display name of the alert rule.
This parameter is required.
example:this is alert
public UpdateAlertRequest.Builder schedule(Schedule schedule)
The scheduling settings of the alert rule.
This parameter is required.
public UpdateAlertRequest build()
Copyright © 2025. All rights reserved.