public static final class DescribeMetricListRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
DescribeMetricListRequest |
build() |
DescribeMetricListRequest.Builder |
dimensions(String dimensions)
The expression that is used to compute the query results in real time.
|
DescribeMetricListRequest.Builder |
endTime(String endTime)
The dimensions that specify the resources whose monitoring data you want to query.
|
DescribeMetricListRequest.Builder |
express(String express)
The interval at which the monitoring data is queried.
|
DescribeMetricListRequest.Builder |
length(String length)
The beginning of the time range to query.
|
DescribeMetricListRequest.Builder |
metricName(String metricName)
The operation that you want to perform.
|
DescribeMetricListRequest.Builder |
namespace(String namespace)
The HTTP status code.
|
DescribeMetricListRequest.Builder |
nextToken(String nextToken)
The namespace of the cloud service.
|
DescribeMetricListRequest.Builder |
period(String period)
The end of the time range to query.
|
DescribeMetricListRequest.Builder |
startTime(String startTime)
The error message.
|
public DescribeMetricListRequest.Builder dimensions(String dimensions)
> Only the groupby expression is supported. This expression is similar to the GROUP BY statement that is used in databases.
public DescribeMetricListRequest.Builder endTime(String endTime)
Set the value to a collection of key-value pairs. A typical key-value pair is `instanceId:i-2ze2d6j5uhg20x47****`. > You can query a maximum of 50 instances in a single request.
public DescribeMetricListRequest.Builder express(String express)
public DescribeMetricListRequest.Builder length(String length)
* UNIX timestamp: the number of milliseconds that have elapsed since 00:00:00 Thursday, January 1, 1970 * UTC time: the UTC time that follows the YYYY-MM-DDThh:mm:ssZ format > The specified period includes the end time and excludes the start time. The start time must be earlier than the end time.
public DescribeMetricListRequest.Builder metricName(String metricName)
public DescribeMetricListRequest.Builder namespace(String namespace)
> The status code 200 indicates that the call was successful.
public DescribeMetricListRequest.Builder nextToken(String nextToken)
For more information about the namespaces of cloud services, see [Appendix 1: Metrics](~~163515~~).
public DescribeMetricListRequest.Builder period(String period)
* UNIX timestamp: the number of milliseconds that have elapsed since 00:00:00 Thursday, January 1, 1970 * UTC time: the UTC time that follows the YYYY-MM-DDThh:mm:ssZ format
public DescribeMetricListRequest.Builder startTime(String startTime)
public DescribeMetricListRequest build()
Copyright © 2023. All rights reserved.