public static final class DescribeApplicationScalingRuleResponseBody.CurrentMetrics.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
DescribeApplicationScalingRuleResponseBody.CurrentMetrics |
build() |
DescribeApplicationScalingRuleResponseBody.CurrentMetrics.Builder |
currentValue(Long currentValue)
The current value of the metric.
|
DescribeApplicationScalingRuleResponseBody.CurrentMetrics.Builder |
name(String name)
The name of the metric.
|
DescribeApplicationScalingRuleResponseBody.CurrentMetrics.Builder |
type(String type)
The type of the data.
|
public DescribeApplicationScalingRuleResponseBody.CurrentMetrics.Builder currentValue(Long currentValue)
public DescribeApplicationScalingRuleResponseBody.CurrentMetrics.Builder name(String name)
* **cpu**: the CPU utilization. * **memory**: the memory usage. * **tcpActiveConn**: the number of active TCP connections. * **slb_incall_qps**: the QPS of the Internet-facing SLB instance. * **slb_incall_rt**: the response time of the Internet-facing SLB instance.
public DescribeApplicationScalingRuleResponseBody.CurrentMetrics.Builder type(String type)
* **Resource**: used when the metric is the **CPU utilization** or **memory usage**. * **Pods**: used when the metric is the **number of active TCP connections**. * **External**: used when the metric is about the **SLB** instance or from **Application Real-Time Monitoring Service (ARMS)**.
public DescribeApplicationScalingRuleResponseBody.CurrentMetrics build()
Copyright © 2024. All rights reserved.