public static final class DescribeAlertLogCountRequest.Builder extends Object
public DescribeAlertLogCountRequest.Builder contactGroup(String contactGroup)
public DescribeAlertLogCountRequest.Builder endTime(Long endTime)
public DescribeAlertLogCountRequest.Builder groupBy(String groupBy)
* `product`: aggregates data by cloud service. * `level`: aggregates data by alert level. * `groupId`: aggregates data by application group. * `contactGroup`: aggregates data by alert group. * `product,metricName`: aggregates data both by cloud service and by metric.
public DescribeAlertLogCountRequest.Builder groupId(String groupId)
public DescribeAlertLogCountRequest.Builder lastMin(String lastMin)
public DescribeAlertLogCountRequest.Builder level(String level)
* P4: Alert notifications are sent by using emails and DingTalk chatbots. * OK: No alert is generated.
public DescribeAlertLogCountRequest.Builder metricName(String metricName)
> For more information about the metrics of different cloud services, see [Appendix 1: Metrics](~~163515~~).
public DescribeAlertLogCountRequest.Builder namespace(String namespace)
> For more information about the namespaces of cloud services, see [Appendix 1: Metrics](~~163515~~).
public DescribeAlertLogCountRequest.Builder pageNumber(Integer pageNumber)
* `product`: aggregates data by cloud service. * `level`: aggregates data by alert level. * `groupId`: aggregates data by application group. * `contactGroup`: aggregates data by alert contact group. * `product,metricName`: aggregates data both by cloud service and by metric.
public DescribeAlertLogCountRequest.Builder pageSize(Integer pageSize)
public DescribeAlertLogCountRequest.Builder product(String product)
public DescribeAlertLogCountRequest.Builder ruleName(String ruleName)
public DescribeAlertLogCountRequest.Builder searchKey(String searchKey)
public DescribeAlertLogCountRequest.Builder sendStatus(String sendStatus)
* 0: The alert is triggered or cleared. * 1: The alert is generated not during the effective period. * 2: The alert is muted and not triggered in a specified period. * 3: The host is restarting. * 4: Notifications are not sent for the alert. When the value of the SendStatus parameter is 0, the value P4 of the Level parameter indicates a triggered alert and the value OK indicates a cleared alert.
public DescribeAlertLogCountRequest.Builder startTime(Long startTime)
> For more information about the metrics of different cloud services, see [Appendix 1: Metrics](~~163515~~).
public DescribeAlertLogCountRequest build()
Copyright © 2023. All rights reserved.