public class DescribeMetricDataResponseBody
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
code
The HTTP status code.
|
String |
datapoints
The monitoring data.
|
String |
message
The error message.
|
String |
period
The statistical period of the monitoring data.
|
String |
requestId
The ID of the request.
|
| 构造器和说明 |
|---|
DescribeMetricDataResponseBody() |
| 限定符和类型 | 方法和说明 |
|---|---|
static DescribeMetricDataResponseBody |
build(Map<String,?> map) |
String |
getCode() |
String |
getDatapoints() |
String |
getMessage() |
String |
getPeriod() |
String |
getRequestId() |
DescribeMetricDataResponseBody |
setCode(String code) |
DescribeMetricDataResponseBody |
setDatapoints(String datapoints) |
DescribeMetricDataResponseBody |
setMessage(String message) |
DescribeMetricDataResponseBody |
setPeriod(String period) |
DescribeMetricDataResponseBody |
setRequestId(String requestId) |
@NameInMap(value="Code") public String code
The HTTP status code.
> The status code 200 indicates that the call was successful.
@NameInMap(value="Datapoints") public String datapoints
The monitoring data. The value includes the following fields:
* `timestamp`: the timestamp when the alert was triggered.
* `userId`: the ID of the user for which the alert was triggered.
* `instanceId`: the ID of the instance for which the alert was triggered.
* `Minimum`, `Average`, and `Maximum`: the aggregation methods.
@NameInMap(value="Message") public String message
The error message.
@NameInMap(value="Period") public String period
The statistical period of the monitoring data.
Valid values: 15, 60, 900, and 3600.
Unit: seconds.
@NameInMap(value="RequestId") public String requestId
The ID of the request.
public static DescribeMetricDataResponseBody build(Map<String,?> map) throws Exception
Exceptionpublic DescribeMetricDataResponseBody setCode(String code)
public String getCode()
public DescribeMetricDataResponseBody setDatapoints(String datapoints)
public String getDatapoints()
public DescribeMetricDataResponseBody setMessage(String message)
public String getMessage()
public DescribeMetricDataResponseBody setPeriod(String period)
public String getPeriod()
public DescribeMetricDataResponseBody setRequestId(String requestId)
public String getRequestId()
Copyright © 2024. All rights reserved.