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