public class DescribePrometheusAlertPolicyResponse extends AbstractModel
Constructor and Description |
---|
DescribePrometheusAlertPolicyResponse() |
DescribePrometheusAlertPolicyResponse(DescribePrometheusAlertPolicyResponse source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
PrometheusAlertPolicyItem[] |
getAlertRules()
Get 告警详情
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getRequestId()
Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
Long |
getTotal()
Get 总数
|
void |
setAlertRules(PrometheusAlertPolicyItem[] AlertRules)
Set 告警详情
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setRequestId(String RequestId)
Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
void |
setTotal(Long Total)
Set 总数
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public DescribePrometheusAlertPolicyResponse()
public DescribePrometheusAlertPolicyResponse(DescribePrometheusAlertPolicyResponse source)
public PrometheusAlertPolicyItem[] getAlertRules()
public void setAlertRules(PrometheusAlertPolicyItem[] AlertRules)
AlertRules
- 告警详情
注意:此字段可能返回 null,表示取不到有效值。public Long getTotal()
public void setTotal(Long Total)
Total
- 总数public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。Copyright © 2023. All rights reserved.