public static final class DescribeMetricRuleBlackListRequest.Builder extends Object
public DescribeMetricRuleBlackListRequest.Builder category(String category)
The ID of the blacklist policy.
example:ecs
public DescribeMetricRuleBlackListRequest.Builder ids(List<String> ids)
public DescribeMetricRuleBlackListRequest.Builder instanceIds(List<String> instanceIds)
The IDs of the instances in the blacklist policy.
Valid values of N: 0 to 10.
public DescribeMetricRuleBlackListRequest.Builder isEnable(Boolean isEnable)
The status of the blacklist policy. Valid values:
true
public DescribeMetricRuleBlackListRequest.Builder name(String name)
The name of the blacklist policy.
This parameter supports fuzzy match.
example:Blacklist-01
public DescribeMetricRuleBlackListRequest.Builder namespace(String namespace)
The timestamp when the blacklist policy expired.
Unit: milliseconds.
example:acs_ecs_dashboard
public DescribeMetricRuleBlackListRequest.Builder order(Integer order)
The HTTP status code.
example:The status code 200 indicates that the call was successful.
DESC
public DescribeMetricRuleBlackListRequest.Builder pageNumber(Integer pageNumber)
The name of the metric.
example:1
public DescribeMetricRuleBlackListRequest.Builder pageSize(Integer pageSize)
The categories of the Alibaba Cloud service. For example, ApsaraDB for Redis includes the following categories: ApsaraDB for Redis (standard architecture), ApsaraDB for Redis (cluster architecture), and ApsaraDB for Redis (read/write splitting architecture). In this case, the valid values of this parameter for ApsaraDB for Redis include kvstore_standard, kvstore_sharding, and kvstore_splitrw.
100
public DescribeMetricRuleBlackListRequest.Builder scopeType(String scopeType)
The effective scope of the blacklist policy. Valid values:
USER
public DescribeMetricRuleBlackListRequest build()
Copyright © 2026. All rights reserved.