public class DescribePrometheusAlertRuleRequest
extends com.aliyun.tea.TeaModel
| 构造器和说明 |
|---|
DescribePrometheusAlertRuleRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static DescribePrometheusAlertRuleRequest |
build(Map<String,?> map) |
Long |
getAlertId() |
String |
getClusterId() |
DescribePrometheusAlertRuleRequest |
setAlertId(Long alertId) |
DescribePrometheusAlertRuleRequest |
setClusterId(String clusterId) |
@NameInMap(value="AlertId") public Long alertId
The ID of the alert rule. You can call the ListPrometheusAlertRules operation to query the ID of the alert rule.
This parameter is required.
example:3888704
@NameInMap(value="ClusterId") public String clusterId
public static DescribePrometheusAlertRuleRequest build(Map<String,?> map) throws Exception
Exceptionpublic DescribePrometheusAlertRuleRequest setAlertId(Long alertId)
public Long getAlertId()
public DescribePrometheusAlertRuleRequest setClusterId(String clusterId)
public String getClusterId()
Copyright © 2024. All rights reserved.