public static class CreateOrUpdateAlertRuleResponseBody.CreateOrUpdateAlertRuleResponseBodyAlertRuleAlertRuleContentAlertRuleItems
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
aggregate
The aggregation method of the alert condition.
|
String |
metricKey
The metric of the alert condition.
|
Float |
n
Indicates the last N minutes.
|
String |
operator
The comparison operator that was used to compare the metric value with the threshold.
|
String |
value
The threshold of the alert condition.
|
| 构造器和说明 |
|---|
CreateOrUpdateAlertRuleResponseBodyAlertRuleAlertRuleContentAlertRuleItems() |
@NameInMap(value="Aggregate") public String aggregate
The aggregation method of the alert condition. Valid values:
AVG
@NameInMap(value="MetricKey") public String metricKey
The metric of the alert condition.
example:appstat.jvm.non_heap_used
@NameInMap(value="N") public Float n
Indicates the last N minutes.
example:1
@NameInMap(value="Operator") public String operator
The comparison operator that was used to compare the metric value with the threshold. Valid values:
CURRENT_GTE
@NameInMap(value="Value") public String value
The threshold of the alert condition.
example:1
public CreateOrUpdateAlertRuleResponseBodyAlertRuleAlertRuleContentAlertRuleItems()
public static CreateOrUpdateAlertRuleResponseBody.CreateOrUpdateAlertRuleResponseBodyAlertRuleAlertRuleContentAlertRuleItems build(Map<String,?> map) throws Exception
Exceptionpublic CreateOrUpdateAlertRuleResponseBody.CreateOrUpdateAlertRuleResponseBodyAlertRuleAlertRuleContentAlertRuleItems setAggregate(String aggregate)
public String getAggregate()
public CreateOrUpdateAlertRuleResponseBody.CreateOrUpdateAlertRuleResponseBodyAlertRuleAlertRuleContentAlertRuleItems setMetricKey(String metricKey)
public String getMetricKey()
public CreateOrUpdateAlertRuleResponseBody.CreateOrUpdateAlertRuleResponseBodyAlertRuleAlertRuleContentAlertRuleItems setN(Float n)
public Float getN()
public CreateOrUpdateAlertRuleResponseBody.CreateOrUpdateAlertRuleResponseBodyAlertRuleAlertRuleContentAlertRuleItems setOperator(String operator)
public String getOperator()
public CreateOrUpdateAlertRuleResponseBody.CreateOrUpdateAlertRuleResponseBodyAlertRuleAlertRuleContentAlertRuleItems setValue(String value)
public String getValue()
Copyright © 2024. All rights reserved.