public static final class CreateApplicationScalingRuleResponseBody.Metrics.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
CreateApplicationScalingRuleResponseBody.Metrics |
build() |
CreateApplicationScalingRuleResponseBody.Metrics.Builder |
metricTargetAverageUtilization(Integer metricTargetAverageUtilization)
The limit on the metric.
|
CreateApplicationScalingRuleResponseBody.Metrics.Builder |
metricType(String metricType)
The metric that is used to trigger the auto scaling policy.
|
CreateApplicationScalingRuleResponseBody.Metrics.Builder |
slbId(String slbId)
The ID of the SLB instance.
|
CreateApplicationScalingRuleResponseBody.Metrics.Builder |
slbLogstore(String slbLogstore)
The Logstore that stores the SLB access logs.
|
CreateApplicationScalingRuleResponseBody.Metrics.Builder |
slbProject(String slbProject)
The project that stores the SLB access logs.
|
CreateApplicationScalingRuleResponseBody.Metrics.Builder |
vport(String vport)
The port number of the SLB instance.
|
public CreateApplicationScalingRuleResponseBody.Metrics.Builder metricTargetAverageUtilization(Integer metricTargetAverageUtilization)
The limit on the metric.
20
public CreateApplicationScalingRuleResponseBody.Metrics.Builder metricType(String metricType)
The metric that is used to trigger the auto scaling policy. Valid values:
CPU
public CreateApplicationScalingRuleResponseBody.Metrics.Builder slbId(String slbId)
The ID of the SLB instance.
example:lb-xxx
public CreateApplicationScalingRuleResponseBody.Metrics.Builder slbLogstore(String slbLogstore)
The Logstore that stores the SLB access logs.
example:test
public CreateApplicationScalingRuleResponseBody.Metrics.Builder slbProject(String slbProject)
The project that stores the SLB access logs.
example:test
public CreateApplicationScalingRuleResponseBody.Metrics.Builder vport(String vport)
The port number of the SLB instance.
example:80
public CreateApplicationScalingRuleResponseBody.Metrics build()
Copyright © 2026. All rights reserved.