public static class ListPrometheusAlertTemplatesResponse.PrometheusAlertTemplate extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ListPrometheusAlertTemplatesResponse.PrometheusAlertTemplate.Annotation |
static class |
ListPrometheusAlertTemplatesResponse.PrometheusAlertTemplate.Label |
| 构造器和说明 |
|---|
PrometheusAlertTemplate() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getAlertName() |
List<ListPrometheusAlertTemplatesResponse.PrometheusAlertTemplate.Annotation> |
getAnnotations() |
String |
getDescription() |
String |
getDuration() |
String |
getExpression() |
List<ListPrometheusAlertTemplatesResponse.PrometheusAlertTemplate.Label> |
getLabels() |
String |
getType() |
String |
getVersion() |
void |
setAlertName(String alertName) |
void |
setAnnotations(List<ListPrometheusAlertTemplatesResponse.PrometheusAlertTemplate.Annotation> annotations) |
void |
setDescription(String description) |
void |
setDuration(String duration) |
void |
setExpression(String expression) |
void |
setLabels(List<ListPrometheusAlertTemplatesResponse.PrometheusAlertTemplate.Label> labels) |
void |
setType(String type) |
void |
setVersion(String version) |
public String getAlertName()
public void setAlertName(String alertName)
public String getDescription()
public void setDescription(String description)
public String getType()
public void setType(String type)
public String getExpression()
public void setExpression(String expression)
public String getDuration()
public void setDuration(String duration)
public String getVersion()
public void setVersion(String version)
public List<ListPrometheusAlertTemplatesResponse.PrometheusAlertTemplate.Label> getLabels()
public void setLabels(List<ListPrometheusAlertTemplatesResponse.PrometheusAlertTemplate.Label> labels)
public List<ListPrometheusAlertTemplatesResponse.PrometheusAlertTemplate.Annotation> getAnnotations()
public void setAnnotations(List<ListPrometheusAlertTemplatesResponse.PrometheusAlertTemplate.Annotation> annotations)
Copyright © 2021. All rights reserved.