public static final class EnableMetricRuleBlackListRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
EnableMetricRuleBlackListRequest |
build() |
EnableMetricRuleBlackListRequest.Builder |
id(String id)
The IDs of the blacklist policies.
|
EnableMetricRuleBlackListRequest.Builder |
isEnable(Boolean isEnable)
Specifies whether to enable the blacklist policy.
|
public EnableMetricRuleBlackListRequest.Builder id(String id)
For information about how to obtain the ID of a blacklist policy, see [DescribeMetricRuleBlackList](~~457257~~). > You can also set this parameter to a JSON array. Example: `["a9ad2ac2-3ed9-11ed-b878-0242ac12****","5cb8a9a4-198f-4651-a353-f8b28788****"]`.
public EnableMetricRuleBlackListRequest.Builder isEnable(Boolean isEnable)
* true: The blacklist policy is enabled. * false (default): The blacklist policy is disabled.
public EnableMetricRuleBlackListRequest build()
Copyright © 2024. All rights reserved.