public static final class DescribeAlarmsResponseBody.Dimensions.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
DescribeAlarmsResponseBody.Dimensions |
build() |
DescribeAlarmsResponseBody.Dimensions.Builder |
dimensionKey(String dimensionKey)
The dimension key of the metric.
|
DescribeAlarmsResponseBody.Dimensions.Builder |
dimensionValue(String dimensionValue)
The dimension value of the metric.
|
public DescribeAlarmsResponseBody.Dimensions.Builder dimensionKey(String dimensionKey)
* user_id: the ID of your Alibaba Cloud account. * scaling_group: the scaling group that is monitored by the event-triggered task. * device: the NIC type. * state: the status of the TCP connection.
public DescribeAlarmsResponseBody.Dimensions.Builder dimensionValue(String dimensionValue)
* If you set DimensionKey to `user_id`, the system specifies the value of DimensionValue. * If you set DimensionKey to `scaling_group`, the system specifies the value of DimensionValue. * If you set DimensionKey to `device`, you can set DimensionValue to eth0 or eth1. * For instances of the classic network type, eth0 indicates the internal NIC. Only one eth0 NIC exists on each instance that resides in VPCs. * For instances of the classic network type, eth1 indicates the public NIC. * If you set DimensionKey to `state`, you can set DimensionValue to TCP_TOTAL or ESTABLISHED. * TCP_TOTAL indicates the total number of TCP connections. * ESTABLISHED indicates the number of TCP connections that are established.
public DescribeAlarmsResponseBody.Dimensions build()
Copyright © 2024. All rights reserved.