public class PrometheusAlertRuleDetail extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| PrometheusAlertRuleDetail() | 
| PrometheusAlertRuleDetail(PrometheusAlertRuleDetail 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 | 
|---|---|
| String | getId()Get 告警 id | 
| String | getInterval()Get 计算周期
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getName()Get 规则名称 | 
| PrometheusNotification | getNotification()Get 告警渠道 | 
| PrometheusAlertRule[] | getRules()Get 规则列表 | 
| String | getTemplateId()Get 如果该告警来至模板下发,则TemplateId为模板id
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getUpdatedAt()Get 最后修改时间 | 
| void | setId(String Id)Set 告警 id | 
| void | setInterval(String Interval)Set 计算周期
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setName(String Name)Set 规则名称 | 
| void | setNotification(PrometheusNotification Notification)Set 告警渠道 | 
| void | setRules(PrometheusAlertRule[] Rules)Set 规则列表 | 
| void | setTemplateId(String TemplateId)Set 如果该告警来至模板下发,则TemplateId为模板id
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setUpdatedAt(String UpdatedAt)Set 最后修改时间 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic PrometheusAlertRuleDetail()
public PrometheusAlertRuleDetail(PrometheusAlertRuleDetail source)
public String getName()
public void setName(String Name)
Name - 规则名称public PrometheusAlertRule[] getRules()
public void setRules(PrometheusAlertRule[] Rules)
Rules - 规则列表public String getUpdatedAt()
public void setUpdatedAt(String UpdatedAt)
UpdatedAt - 最后修改时间public PrometheusNotification getNotification()
public void setNotification(PrometheusNotification Notification)
Notification - 告警渠道public String getId()
public void setId(String Id)
Id - 告警 idpublic String getTemplateId()
public void setTemplateId(String TemplateId)
TemplateId - 如果该告警来至模板下发,则TemplateId为模板id
注意:此字段可能返回 null,表示取不到有效值。public String getInterval()
public void setInterval(String Interval)
Interval - 计算周期
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2025. All rights reserved.