public static final class DescribeAlertLogListResponseBody.AlertLogList.Builder extends Object
构造器和说明 |
---|
Builder() |
public DescribeAlertLogListResponseBody.AlertLogList.Builder alertTime(String alertTime)
public DescribeAlertLogListResponseBody.AlertLogList.Builder blackListDetail(String blackListDetail)
* `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 DescribeAlertLogListResponseBody.AlertLogList.Builder blackListName(String blackListName)
public DescribeAlertLogListResponseBody.AlertLogList.Builder blackListUUID(String blackListUUID)
* Mail: email * ALIIM: TradeManager * SMS: text message * CALL: phone call * DING: DingTalk chatbot * Merged: alert merging
public DescribeAlertLogListResponseBody.AlertLogList.Builder contactALIIWWList(List<String> contactALIIWWList)
public DescribeAlertLogListResponseBody.AlertLogList.Builder contactDingList(List<String> contactDingList)
public DescribeAlertLogListResponseBody.AlertLogList.Builder contactGroups(List<String> contactGroups)
public DescribeAlertLogListResponseBody.AlertLogList.Builder contactMailList(List<String> contactMailList)
public DescribeAlertLogListResponseBody.AlertLogList.Builder contactOnCallList(List<String> contactOnCallList)
public DescribeAlertLogListResponseBody.AlertLogList.Builder contactSMSList(List<String> contactSMSList)
public DescribeAlertLogListResponseBody.AlertLogList.Builder dimensions(List<DescribeAlertLogListResponseBody.Dimensions> dimensions)
* 0: The alert is triggered or cleared. * 1: The alert is ineffective. * 2: The alert is muted and not triggered in a specified period. * 3: The host is restarting. * 4: No alert notification is sent. If 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 DescribeAlertLogListResponseBody.AlertLogList.Builder dingdingWebhookList(List<String> dingdingWebhookList)
public DescribeAlertLogListResponseBody.AlertLogList.Builder escalation(DescribeAlertLogListResponseBody.Escalation escalation)
public DescribeAlertLogListResponseBody.AlertLogList.Builder eventName(String eventName)
public DescribeAlertLogListResponseBody.AlertLogList.Builder extendedInfo(List<DescribeAlertLogListResponseBody.ExtendedInfo> extendedInfo)
public DescribeAlertLogListResponseBody.AlertLogList.Builder groupId(String groupId)
public DescribeAlertLogListResponseBody.AlertLogList.Builder groupName(String groupName)
public DescribeAlertLogListResponseBody.AlertLogList.Builder instanceId(String instanceId)
public DescribeAlertLogListResponseBody.AlertLogList.Builder instanceName(String instanceName)
public DescribeAlertLogListResponseBody.AlertLogList.Builder level(String level)
* If the value of the `Channel` parameter is `WEBHOOK`, the status code is 200 or 500. * If the value of the `Channel` parameter is `MAIL`, `SMS`, `SLS`, `ONCALL`, `FC`, or `MNS`, this parameter is empty or not returned.
public DescribeAlertLogListResponseBody.AlertLogList.Builder levelChange(String levelChange)
public DescribeAlertLogListResponseBody.AlertLogList.Builder logId(String logId)
public DescribeAlertLogListResponseBody.AlertLogList.Builder message(String message)
public DescribeAlertLogListResponseBody.AlertLogList.Builder metricName(String metricName)
public DescribeAlertLogListResponseBody.AlertLogList.Builder namespace(String namespace)
public DescribeAlertLogListResponseBody.AlertLogList.Builder product(String product)
* If the alert notifications are sent, the value "success" is returned. * If the configuration is invalid, no alert notification is sent and an error code is returned.
public DescribeAlertLogListResponseBody.AlertLogList.Builder ruleId(String ruleId)
> This parameter can be returned only on the China site (aliyun.com).
public DescribeAlertLogListResponseBody.AlertLogList.Builder ruleName(String ruleName)
public DescribeAlertLogListResponseBody.AlertLogList.Builder sendDetail(DescribeAlertLogListResponseBody.SendDetail sendDetail)
> For more information about the namespaces of different cloud services, see [Appendix 1: Metrics](~~163515~~).
public DescribeAlertLogListResponseBody.AlertLogList.Builder sendResultList(List<DescribeAlertLogListResponseBody.SendResultList> sendResultList)
public DescribeAlertLogListResponseBody.AlertLogList.Builder sendStatus(String sendStatus)
public DescribeAlertLogListResponseBody.AlertLogList.Builder webhookList(List<DescribeAlertLogListResponseBody.WebhookList> webhookList)
public DescribeAlertLogListResponseBody.AlertLogList build()
Copyright © 2023. All rights reserved.