public static class ListPrometheusAlertTemplatesResponseBody.ListPrometheusAlertTemplatesResponseBodyPrometheusAlertTemplates
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
alertName |
List<ListPrometheusAlertTemplatesResponseBody.ListPrometheusAlertTemplatesResponseBodyPrometheusAlertTemplatesAnnotations> |
annotations |
String |
description |
String |
duration
example:
1m
|
String |
expression
example:
node_memory_MemAvailable_bytes / node_memory_MemTotal_bytes * 100 < 10
|
List<ListPrometheusAlertTemplatesResponseBody.ListPrometheusAlertTemplatesResponseBodyPrometheusAlertTemplatesLabels> |
labels |
String |
type |
String |
version
example:
1.0
|
| 构造器和说明 |
|---|
ListPrometheusAlertTemplatesResponseBodyPrometheusAlertTemplates() |
@NameInMap(value="AlertName") public String alertName
@NameInMap(value="Annotations") public List<ListPrometheusAlertTemplatesResponseBody.ListPrometheusAlertTemplatesResponseBodyPrometheusAlertTemplatesAnnotations> annotations
@NameInMap(value="Description") public String description
@NameInMap(value="Duration") public String duration
1m
@NameInMap(value="Expression") public String expression
node_memory_MemAvailable_bytes / node_memory_MemTotal_bytes * 100 < 10
@NameInMap(value="Labels") public List<ListPrometheusAlertTemplatesResponseBody.ListPrometheusAlertTemplatesResponseBodyPrometheusAlertTemplatesLabels> labels
@NameInMap(value="Type") public String type
@NameInMap(value="Version") public String version
1.0
public ListPrometheusAlertTemplatesResponseBodyPrometheusAlertTemplates()
public static ListPrometheusAlertTemplatesResponseBody.ListPrometheusAlertTemplatesResponseBodyPrometheusAlertTemplates build(Map<String,?> map) throws Exception
Exceptionpublic ListPrometheusAlertTemplatesResponseBody.ListPrometheusAlertTemplatesResponseBodyPrometheusAlertTemplates setAlertName(String alertName)
public String getAlertName()
public ListPrometheusAlertTemplatesResponseBody.ListPrometheusAlertTemplatesResponseBodyPrometheusAlertTemplates setAnnotations(List<ListPrometheusAlertTemplatesResponseBody.ListPrometheusAlertTemplatesResponseBodyPrometheusAlertTemplatesAnnotations> annotations)
public List<ListPrometheusAlertTemplatesResponseBody.ListPrometheusAlertTemplatesResponseBodyPrometheusAlertTemplatesAnnotations> getAnnotations()
public ListPrometheusAlertTemplatesResponseBody.ListPrometheusAlertTemplatesResponseBodyPrometheusAlertTemplates setDescription(String description)
public String getDescription()
public ListPrometheusAlertTemplatesResponseBody.ListPrometheusAlertTemplatesResponseBodyPrometheusAlertTemplates setDuration(String duration)
public String getDuration()
public ListPrometheusAlertTemplatesResponseBody.ListPrometheusAlertTemplatesResponseBodyPrometheusAlertTemplates setExpression(String expression)
public String getExpression()
public ListPrometheusAlertTemplatesResponseBody.ListPrometheusAlertTemplatesResponseBodyPrometheusAlertTemplates setLabels(List<ListPrometheusAlertTemplatesResponseBody.ListPrometheusAlertTemplatesResponseBodyPrometheusAlertTemplatesLabels> labels)
public List<ListPrometheusAlertTemplatesResponseBody.ListPrometheusAlertTemplatesResponseBodyPrometheusAlertTemplatesLabels> getLabels()
public ListPrometheusAlertTemplatesResponseBody.ListPrometheusAlertTemplatesResponseBodyPrometheusAlertTemplates setType(String type)
public String getType()
public ListPrometheusAlertTemplatesResponseBody.ListPrometheusAlertTemplatesResponseBodyPrometheusAlertTemplates setVersion(String version)
public String getVersion()
Copyright © 2024. All rights reserved.