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