public static final class CreateMetricRuleResourcesRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
CreateMetricRuleResourcesRequest |
build() |
CreateMetricRuleResourcesRequest.Builder |
overwrite(String overwrite)
Specifies whether to overwrite the existing data.
|
CreateMetricRuleResourcesRequest.Builder |
resources(String resources)
The resources to be associated with the alert rule.
|
CreateMetricRuleResourcesRequest.Builder |
ruleId(String ruleId)
The ID of the alert rule.
|
public CreateMetricRuleResourcesRequest.Builder overwrite(String overwrite)
* true: The resources submitted this time will overwrite the previous associated resources. * false: The resources submitted this time will not overwrite the previous associated resources. The associated resources after submission include the previous associated resources and the resources submitted this time.
public CreateMetricRuleResourcesRequest.Builder resources(String resources)
> You can add up to 100 resources each time. An alert rule can be associated with up to 3,000 resources.
public CreateMetricRuleResourcesRequest.Builder ruleId(String ruleId)
public CreateMetricRuleResourcesRequest build()
Copyright © 2024. All rights reserved.