com.aliyun.arms20190808.models.DescribePrometheusAlertRuleRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of arms20190808 Show documentation
Show all versions of arms20190808 Show documentation
Alibaba Cloud Application Real-Time Monitoring Service (20190808) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.arms20190808.models;
import com.aliyun.tea.*;
public class DescribePrometheusAlertRuleRequest extends TeaModel {
/**
* 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("AlertId")
public Long alertId;
/**
* The ID of the Prometheus instance.
*
* example:
* cc7a37ee31aea4ed1a059eff8034b****
*/
@NameInMap("ClusterId")
public String clusterId;
public static DescribePrometheusAlertRuleRequest build(java.util.Map map) throws Exception {
DescribePrometheusAlertRuleRequest self = new DescribePrometheusAlertRuleRequest();
return TeaModel.build(map, self);
}
public DescribePrometheusAlertRuleRequest setAlertId(Long alertId) {
this.alertId = alertId;
return this;
}
public Long getAlertId() {
return this.alertId;
}
public DescribePrometheusAlertRuleRequest setClusterId(String clusterId) {
this.clusterId = clusterId;
return this;
}
public String getClusterId() {
return this.clusterId;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy