public static class CreatePrometheusAlertRuleResponse.PrometheusAlertRule extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
CreatePrometheusAlertRuleResponse.PrometheusAlertRule.Annotation |
static class |
CreatePrometheusAlertRuleResponse.PrometheusAlertRule.Label |
| 构造器和说明 |
|---|
PrometheusAlertRule() |
| 限定符和类型 | 方法和说明 |
|---|---|
Long |
getAlertId() |
String |
getAlertName() |
List<CreatePrometheusAlertRuleResponse.PrometheusAlertRule.Annotation> |
getAnnotations() |
String |
getClusterId() |
Long |
getDispatchRuleId() |
String |
getDuration() |
String |
getExpression() |
List<CreatePrometheusAlertRuleResponse.PrometheusAlertRule.Label> |
getLabels() |
String |
getMessage() |
String |
getNotifyType() |
Integer |
getStatus() |
String |
getType() |
void |
setAlertId(Long alertId) |
void |
setAlertName(String alertName) |
void |
setAnnotations(List<CreatePrometheusAlertRuleResponse.PrometheusAlertRule.Annotation> annotations) |
void |
setClusterId(String clusterId) |
void |
setDispatchRuleId(Long dispatchRuleId) |
void |
setDuration(String duration) |
void |
setExpression(String expression) |
void |
setLabels(List<CreatePrometheusAlertRuleResponse.PrometheusAlertRule.Label> labels) |
void |
setMessage(String message) |
void |
setNotifyType(String notifyType) |
void |
setStatus(Integer status) |
void |
setType(String type) |
public Integer getStatus()
public void setStatus(Integer status)
public String getType()
public void setType(String type)
public String getNotifyType()
public void setNotifyType(String notifyType)
public String getExpression()
public void setExpression(String expression)
public String getMessage()
public void setMessage(String message)
public String getDuration()
public void setDuration(String duration)
public Long getDispatchRuleId()
public void setDispatchRuleId(Long dispatchRuleId)
public String getAlertName()
public void setAlertName(String alertName)
public Long getAlertId()
public void setAlertId(Long alertId)
public String getClusterId()
public void setClusterId(String clusterId)
public List<CreatePrometheusAlertRuleResponse.PrometheusAlertRule.Label> getLabels()
public void setLabels(List<CreatePrometheusAlertRuleResponse.PrometheusAlertRule.Label> labels)
public List<CreatePrometheusAlertRuleResponse.PrometheusAlertRule.Annotation> getAnnotations()
public void setAnnotations(List<CreatePrometheusAlertRuleResponse.PrometheusAlertRule.Annotation> annotations)
Copyright © 2024. All Rights Reserved.