public class PrometheusAlertRuleDetail extends AbstractModel
| 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 Alarm rule ID | 
| String | getInterval()Get Alarm interval
Note: this field may return `null`, indicating that no valid value can be obtained. | 
| String | getName()Get Rule name | 
| PrometheusNotification | getNotification()Get Alarm delivery methods | 
| PrometheusAlertRule[] | getRules()Get Rule list | 
| String | getTemplateId()Get If the alarm is delivered via a template, the TemplateId is the template ID. | 
| String | getUpdatedAt()Get Last modification time | 
| void | setId(String Id)Set Alarm rule ID | 
| void | setInterval(String Interval)Set Alarm interval
Note: this field may return `null`, indicating that no valid value can be obtained. | 
| void | setName(String Name)Set Rule name | 
| void | setNotification(PrometheusNotification Notification)Set Alarm delivery methods | 
| void | setRules(PrometheusAlertRule[] Rules)Set Rule list | 
| void | setTemplateId(String TemplateId)Set If the alarm is delivered via a template, the TemplateId is the template ID. | 
| void | setUpdatedAt(String UpdatedAt)Set Last modification time | 
| 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, toJsonStringpublic PrometheusAlertRuleDetail()
public PrometheusAlertRuleDetail(PrometheusAlertRuleDetail source)
public String getName()
public void setName(String Name)
Name - Rule namepublic PrometheusAlertRule[] getRules()
public void setRules(PrometheusAlertRule[] Rules)
Rules - Rule listpublic String getUpdatedAt()
public void setUpdatedAt(String UpdatedAt)
UpdatedAt - Last modification timepublic PrometheusNotification getNotification()
public void setNotification(PrometheusNotification Notification)
Notification - Alarm delivery methodspublic String getId()
public void setId(String Id)
Id - Alarm rule IDpublic String getTemplateId()
public void setTemplateId(String TemplateId)
TemplateId - If the alarm is delivered via a template, the TemplateId is the template ID.
Note: this field may return `null`, indicating that no valid value can be obtained.public String getInterval()
public void setInterval(String Interval)
Interval - Alarm interval
Note: this field may return `null`, indicating that no valid value can be obtained.Copyright © 2023. All rights reserved.