public static final class CreatePrometheusAlertRuleResponseBody.PrometheusAlertRule.Builder extends Object
构造器和说明 |
---|
Builder() |
public CreatePrometheusAlertRuleResponseBody.PrometheusAlertRule.Builder alertId(Long alertId)
public CreatePrometheusAlertRuleResponseBody.PrometheusAlertRule.Builder alertName(String alertName)
public CreatePrometheusAlertRuleResponseBody.PrometheusAlertRule.Builder annotations(List<CreatePrometheusAlertRuleResponseBody.Annotations> annotations)
public CreatePrometheusAlertRuleResponseBody.PrometheusAlertRule.Builder clusterId(String clusterId)
public CreatePrometheusAlertRuleResponseBody.PrometheusAlertRule.Builder dispatchRuleId(Long dispatchRuleId)
public CreatePrometheusAlertRuleResponseBody.PrometheusAlertRule.Builder duration(String duration)
public CreatePrometheusAlertRuleResponseBody.PrometheusAlertRule.Builder expression(String expression)
public CreatePrometheusAlertRuleResponseBody.PrometheusAlertRule.Builder labels(List<CreatePrometheusAlertRuleResponseBody.Labels> labels)
public CreatePrometheusAlertRuleResponseBody.PrometheusAlertRule.Builder message(String message)
public CreatePrometheusAlertRuleResponseBody.PrometheusAlertRule.Builder notifyType(String notifyType)
public CreatePrometheusAlertRuleResponseBody.PrometheusAlertRule.Builder status(Integer status)
public CreatePrometheusAlertRuleResponseBody.PrometheusAlertRule.Builder type(String type)
public CreatePrometheusAlertRuleResponseBody.PrometheusAlertRule build()
Copyright © 2024. All rights reserved.