public static final class AlertEvent.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
public AlertEvent.Builder alertName(String alertName)
public AlertEvent.Builder alertStatus(String alertStatus)
public AlertEvent.Builder arn(String arn)
public AlertEvent.Builder content(String content)
public AlertEvent.Builder customLabels(Map<String,?> customLabels)
public AlertEvent.Builder deDupId(String deDupId)
public AlertEvent.Builder details(String details)
public AlertEvent.Builder eventName(String eventName)
public AlertEvent.Builder eventType(String eventType)
public AlertEvent.Builder expression(String expression)
public AlertEvent.Builder metrics(List<AlertEvent.Metrics> metrics)
public AlertEvent.Builder product(String product)
public AlertEvent.Builder resourceInfo(Map<String,?> resourceInfo)
public AlertEvent.Builder ruleName(String ruleName)
public AlertEvent.Builder severity(String severity)
public AlertEvent.Builder source(String source)
public AlertEvent.Builder summary(String summary)
public AlertEvent.Builder timestamp(Long timestamp)
public AlertEvent.Builder traceId(String traceId)
public AlertEvent.Builder userId(String userId)
public AlertEvent build()
Copyright © 2024. All rights reserved.