public static final class DescribeAlertingMetricRuleResourcesRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
DescribeAlertingMetricRuleResourcesRequest.Builder |
alertBeforeTime(String alertBeforeTime)
Queries the alerts that were triggered before the specified time.
|
DescribeAlertingMetricRuleResourcesRequest |
build() |
DescribeAlertingMetricRuleResourcesRequest.Builder |
dimensions(String dimensions)
The dimensions that specify the resources whose monitoring data you want to query.
|
DescribeAlertingMetricRuleResourcesRequest.Builder |
groupId(String groupId)
The ID of the application group.
|
DescribeAlertingMetricRuleResourcesRequest.Builder |
namespace(String namespace)
The namespace of the cloud service.
|
DescribeAlertingMetricRuleResourcesRequest.Builder |
page(Integer page)
The page number.
|
DescribeAlertingMetricRuleResourcesRequest.Builder |
pageSize(Integer pageSize)
The number of entries per page.
|
DescribeAlertingMetricRuleResourcesRequest.Builder |
ruleId(String ruleId)
The ID of the alert rule.
|
public DescribeAlertingMetricRuleResourcesRequest.Builder alertBeforeTime(String alertBeforeTime)
Queries the alerts that were triggered before the specified time. Timestamps in milliseconds are supported.
example:1698827400000
public DescribeAlertingMetricRuleResourcesRequest.Builder dimensions(String dimensions)
The dimensions that specify the resources whose monitoring data you want to query.
example:{"userId":"120886317861****","region":"cn-huhehaote","queue":"test-0128"}
public DescribeAlertingMetricRuleResourcesRequest.Builder groupId(String groupId)
The ID of the application group. For information about how to obtain the ID of an application group, see DescribeMonitorGroups.
example:7671****
public DescribeAlertingMetricRuleResourcesRequest.Builder namespace(String namespace)
The namespace of the cloud service.
For more information about the namespaces of cloud services, see Appendix 1: Metrics.
example:acs_mns_new
public DescribeAlertingMetricRuleResourcesRequest.Builder page(Integer page)
The page number.
Default value: 1.
example:1
public DescribeAlertingMetricRuleResourcesRequest.Builder pageSize(Integer pageSize)
The number of entries per page.
Default value: 10.
example:10
public DescribeAlertingMetricRuleResourcesRequest.Builder ruleId(String ruleId)
The ID of the alert rule. For information about how to obtain the ID of an alert rule, see DescribeMetricRuleList.
example:putNewAlarm_user_7e78d765-0e3e-4671-ba6d-7ce39108****
public DescribeAlertingMetricRuleResourcesRequest build()
Copyright © 2026. All rights reserved.