public static final class BatchExportRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
BatchExportRequest |
build() |
BatchExportRequest.Builder |
cursor(String cursor)
When you call this operation to export data, you must specify the `Cursor` parameter.
|
BatchExportRequest.Builder |
length(Integer length)
The maximum number of data entries that can be returned in each response.
|
BatchExportRequest.Builder |
measurements(List<String> measurements)
The statistical methods used to customize the returned data.
|
BatchExportRequest.Builder |
metric(String metric)
The metric that is used to monitor the cloud service.
|
BatchExportRequest.Builder |
namespace(String namespace)
The namespace of the cloud service.
|
public BatchExportRequest.Builder cursor(String cursor)
* When you call this operation for the first time, you must call the Cursor operation to obtain the `Cursor` value. For more information, see [Cursor](~~2330730~~). * When you call this operation again, you can obtain the `Cursor` value from the returned data of the last call.
public BatchExportRequest.Builder length(Integer length)
Valid values: 1 to 10000.
public BatchExportRequest.Builder measurements(List<String> measurements)
For example, the `cpu_idle` metric of ECS (`acs_ecs_dashboard`) has three statistical methods: `Average`, `Maximum`, and `Minimum`. If you want to return only the measurements based on the `Average` and `Maximum` statistical methods, set this parameter to `["Average", "Maximum"]`. The statistical methods of metrics are displayed in the `Statistics` column on the Metrics page of each cloud service. For more information, see [Appendix 1: Metrics](~~163515~~).
public BatchExportRequest.Builder metric(String metric)
For more information about the metrics of cloud services, see [Appendix 1: Metrics](~~163515~~). > The value of this parameter must be the same as the value of the request parameter `Metric` in the Cursor operation.
public BatchExportRequest.Builder namespace(String namespace)
For more information about the namespaces of cloud services, see [Appendix 1: Metrics](~~163515~~). > The value of this parameter must be the same as the value of the request parameter `Namespace` in the Cursor operation.
public BatchExportRequest build()
Copyright © 2024. All rights reserved.