public static final class CreateMetricRuleResourcesRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
CreateMetricRuleResourcesRequest |
build() |
CreateMetricRuleResourcesRequest.Builder |
overwrite(String overwrite)
The resources to be associated with the alert rule.
|
CreateMetricRuleResourcesRequest.Builder |
resources(String resources)
The HTTP status code.
|
CreateMetricRuleResourcesRequest.Builder |
ruleId(String ruleId)
Specifies whether to overwrite the existing data.
|
public CreateMetricRuleResourcesRequest.Builder overwrite(String overwrite)
> You can add up to 100 resources each time. An alert rule can be associated with up to 3,000 resources.
public CreateMetricRuleResourcesRequest.Builder resources(String resources)
> The status code 200 indicates that the call was successful.
public CreateMetricRuleResourcesRequest.Builder ruleId(String ruleId)
* 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 build()
Copyright © 2023. All rights reserved.