public static final class DescribeAlertLogHistogramRequest.Builder extends Object
public DescribeAlertLogHistogramRequest.Builder contactGroup(String contactGroup)
> For more information about the metrics of different cloud services, see [Appendix 1: Metrics](~~163515~~).
public DescribeAlertLogHistogramRequest.Builder endTime(Long endTime)
public DescribeAlertLogHistogramRequest.Builder groupBy(String groupBy)
public DescribeAlertLogHistogramRequest.Builder groupId(String groupId)
> For more information about the namespaces of cloud services, see [Appendix 1: Metrics](~~163515~~).
public DescribeAlertLogHistogramRequest.Builder lastMin(String lastMin)
> The HTTP status code 200 indicates a success.
public DescribeAlertLogHistogramRequest.Builder level(String level)
public DescribeAlertLogHistogramRequest.Builder metricName(String metricName)
* `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 DescribeAlertLogHistogramRequest.Builder namespace(String namespace)
* 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 DescribeAlertLogHistogramRequest.Builder pageNumber(Integer pageNumber)
public DescribeAlertLogHistogramRequest.Builder pageSize(Integer pageSize)
public DescribeAlertLogHistogramRequest.Builder product(String product)
* P4: Alert notifications are sent by using emails and DingTalk chatbots. * OK: No alert is generated.
public DescribeAlertLogHistogramRequest.Builder ruleName(String ruleName)
public DescribeAlertLogHistogramRequest.Builder searchKey(String searchKey)
public DescribeAlertLogHistogramRequest.Builder sendStatus(String sendStatus)
public DescribeAlertLogHistogramRequest.Builder startTime(Long startTime)
public DescribeAlertLogHistogramRequest build()
Copyright © 2023. All rights reserved.