public static final class DescribeAlarmsResponseBody.AlarmList.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
DescribeAlarmsResponseBody.AlarmList.Builder |
alarmActions(List<String> alarmActions)
The unique identifiers of the scaling rules that are associated with the event-triggered task.
|
DescribeAlarmsResponseBody.AlarmList.Builder |
alarmTaskId(String alarmTaskId)
The ID of the event-triggered task.
|
DescribeAlarmsResponseBody.AlarmList |
build() |
DescribeAlarmsResponseBody.AlarmList.Builder |
comparisonOperator(String comparisonOperator)
The operator that is used to compare the metric value and the metric threshold.
|
DescribeAlarmsResponseBody.AlarmList.Builder |
description(String description)
The description of the event-triggered task.
|
DescribeAlarmsResponseBody.AlarmList.Builder |
dimensions(List<DescribeAlarmsResponseBody.Dimensions> dimensions)
The metric dimensions.
|
DescribeAlarmsResponseBody.AlarmList.Builder |
effective(String effective)
The effective period of the event-triggered task.
|
DescribeAlarmsResponseBody.AlarmList.Builder |
enable(Boolean enable)
Indicates whether the event-triggered task feature is enabled.
|
DescribeAlarmsResponseBody.AlarmList.Builder |
evaluationCount(Integer evaluationCount)
The number of consecutive times that the threshold must be reached before a scaling rule is executed.
|
DescribeAlarmsResponseBody.AlarmList.Builder |
expressions(List<DescribeAlarmsResponseBody.Expressions> expressions)
The alert conditions of the multi-metric alert rule.
|
DescribeAlarmsResponseBody.AlarmList.Builder |
expressionsLogicOperator(String expressionsLogicOperator)
The relationship between the trigger conditions that are specified in the multi-metric alert rule.
|
DescribeAlarmsResponseBody.AlarmList.Builder |
metricName(String metricName)
The metric name.
|
DescribeAlarmsResponseBody.AlarmList.Builder |
metricType(String metricType)
The metric type.
|
DescribeAlarmsResponseBody.AlarmList.Builder |
name(String name)
The name of the event-triggered task.
|
DescribeAlarmsResponseBody.AlarmList.Builder |
period(Integer period)
The statistical period of the metric data.
|
DescribeAlarmsResponseBody.AlarmList.Builder |
scalingGroupId(String scalingGroupId)
The ID of the scaling group to which the event-triggered task is associated.
|
DescribeAlarmsResponseBody.AlarmList.Builder |
state(String state)
The status of the event-triggered task.
|
DescribeAlarmsResponseBody.AlarmList.Builder |
statistics(String statistics)
The method that is used to aggregate the metric data.
|
DescribeAlarmsResponseBody.AlarmList.Builder |
threshold(Float threshold)
The threshold of the metric.
|
public DescribeAlarmsResponseBody.AlarmList.Builder alarmActions(List<String> alarmActions)
public DescribeAlarmsResponseBody.AlarmList.Builder alarmTaskId(String alarmTaskId)
public DescribeAlarmsResponseBody.AlarmList.Builder comparisonOperator(String comparisonOperator)
* Valid value if the metric value is greater than or equal to the threshold: >=. * Valid value if the metric value is less than or equal to the threshold: <=. * Valid value if the metric value is greater than the threshold: >. * Valid value if the metric value is less than the threshold: <.
public DescribeAlarmsResponseBody.AlarmList.Builder description(String description)
public DescribeAlarmsResponseBody.AlarmList.Builder dimensions(List<DescribeAlarmsResponseBody.Dimensions> dimensions)
public DescribeAlarmsResponseBody.AlarmList.Builder effective(String effective)
public DescribeAlarmsResponseBody.AlarmList.Builder enable(Boolean enable)
* true * false
public DescribeAlarmsResponseBody.AlarmList.Builder evaluationCount(Integer evaluationCount)
public DescribeAlarmsResponseBody.AlarmList.Builder expressions(List<DescribeAlarmsResponseBody.Expressions> expressions)
public DescribeAlarmsResponseBody.AlarmList.Builder expressionsLogicOperator(String expressionsLogicOperator)
* `&&`: An alert is triggered only if all metrics in the multi-metric alert rule meet their trigger conditions. In this case, an alert is triggered only if the results of all trigger conditions that are specified in the multi-metric alert rule are `true`. * `||`: An alert is triggered only if one of the metrics in the multi-metric alert rule meets its trigger condition.
public DescribeAlarmsResponseBody.AlarmList.Builder metricName(String metricName)
* CpuUtilization: the CPU utilization of an Elastic Compute Service (ECS) instance. Unit: %. * ConcurrentConnections: the number of current connections to an ECS instance. * IntranetTx: the outbound traffic over an internal network. Unit: KB/min. * IntranetRx: the inbound traffic over an internal network. Unit: KB/min. * VpcInternetTx: the outbound traffic over a virtual private cloud (VPC). Unit: KB/min. * VpcInternetRx: the inbound traffic over a VPC. Unit: KB/min. * SystemDiskReadBps: the number of bytes read from the system disk per second. * SystemDiskWriteBps: the number of bytes written to the system disk per second. * SystemDiskReadOps: the read IOPS of the system disk. Unit: counts/s. * SystemDiskWriteOps: the write IOPS of the system disk. Unit: counts/s. * CpuUtilizationAgent: the CPU utilization. Unit: %. * GpuUtilizationAgent: the GPU utilization. Unit: %. * GpuMemoryFreeUtilizationAgent: the idle GPU memory usage. Unit: %. * GpuMemoryUtilizationAgent: the GPU memory usage. Unit: %. * MemoryUtilization: the memory usage. Unit: %. * LoadAverage: the average system load. * TcpConnection: the total number of TCP connections. * TcpConnection: the number of established TCP connections. * PackagesNetOut: the number of packets sent by the internal NIC. Unit: counts/s. * PackagesNetIn: the number of packets received by the internal NIC. Unit: counts/s. * PackagesNetOut: the number of packets sent by the public NIC. Unit: counts/s. * PackagesNetIn: the number of packets received by the public NIC. Unit: counts/s. * EciPodCpuUtilization: the CPU utilization. Unit: %. * EciPodMemoryUtilization: the memory usage. Unit: %. * LoadBalancerRealServerAverageQps: the queries per second (QPS) of an instance. For more information, see [Event-triggered tasks of the system monitoring type](~~74854~~).
public DescribeAlarmsResponseBody.AlarmList.Builder metricType(String metricType)
* system: system metrics of CloudMonitor * custom: custom metrics that are reported to CloudMonitor.
public DescribeAlarmsResponseBody.AlarmList.Builder name(String name)
public DescribeAlarmsResponseBody.AlarmList.Builder period(Integer period)
* 15 * 60 * 120 * 300 * 900 > You can set the value of this parameter to 15 Seconds only for scaling groups of the ECS type.
public DescribeAlarmsResponseBody.AlarmList.Builder scalingGroupId(String scalingGroupId)
public DescribeAlarmsResponseBody.AlarmList.Builder state(String state)
* ALARM: The alert condition is met and an alert is triggered. * OK: The alert condition is not met. * INSUFFICIENT_DATA: Auto Scaling cannot determine whether the alert condition is met due to insufficient data.
public DescribeAlarmsResponseBody.AlarmList.Builder statistics(String statistics)
* Average: the average value * Minimum: the minimum value * Maximum: the maximum value
public DescribeAlarmsResponseBody.AlarmList.Builder threshold(Float threshold)
public DescribeAlarmsResponseBody.AlarmList build()
Copyright © 2024. All rights reserved.