public class DescribeMetricMetaListRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
labels
The tags for filtering metrics.
|
String |
metricName
The name of the metric.
|
String |
namespace
The namespace of the service.
|
Integer |
pageNumber
The page to return.
|
Integer |
pageSize
The number of entries to return on each page.
|
| 构造器和说明 |
|---|
DescribeMetricMetaListRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static DescribeMetricMetaListRequest |
build(Map<String,?> map) |
String |
getLabels() |
String |
getMetricName() |
String |
getNamespace() |
Integer |
getPageNumber() |
Integer |
getPageSize() |
DescribeMetricMetaListRequest |
setLabels(String labels) |
DescribeMetricMetaListRequest |
setMetricName(String metricName) |
DescribeMetricMetaListRequest |
setNamespace(String namespace) |
DescribeMetricMetaListRequest |
setPageNumber(Integer pageNumber) |
DescribeMetricMetaListRequest |
setPageSize(Integer pageSize) |
@NameInMap(value="Labels") public String labels
The tags for filtering metrics. Specify a JSON string.
Format:`[{"name":"tag name","value":"tag value"},{"name":"tag name","value":"tag value"}]`. The following tags are available:
* metricCategory: the category of the metric.
* alertEnable: specifies whether to report alerts for the metric.
* alertUnit: the suggested unit of the metric value in alerts.
* unitFactor: the factor for metric unit conversion.
* minAlertPeriod: the minimum time interval to report a new alert.
* productCategory: the category of the service.
@NameInMap(value="MetricName") public String metricName
The name of the metric. For more information, see [Appendix 1: Metrics](~~163515~~).
@NameInMap(value="Namespace") public String namespace
The namespace of the service.
For more information, see [Appendix 1: Metrics](~~163515~~).
@NameInMap(value="PageNumber") public Integer pageNumber
The page to return. Default value: 1
@NameInMap(value="PageSize") public Integer pageSize
The number of entries to return on each page. Default value: 30.
public static DescribeMetricMetaListRequest build(Map<String,?> map) throws Exception
Exceptionpublic DescribeMetricMetaListRequest setLabels(String labels)
public String getLabels()
public DescribeMetricMetaListRequest setMetricName(String metricName)
public String getMetricName()
public DescribeMetricMetaListRequest setNamespace(String namespace)
public String getNamespace()
public DescribeMetricMetaListRequest setPageNumber(Integer pageNumber)
public Integer getPageNumber()
public DescribeMetricMetaListRequest setPageSize(Integer pageSize)
public Integer getPageSize()
Copyright © 2024. All rights reserved.