Skip to content

AlertRuleBuilder🔗

Constructor🔗

new AlertRuleBuilder()

Methods🔗

build🔗

Builds the object.

public AlertRule build()

annotations🔗

public AlertRuleBuilder annotations(Map<String, String> annotations)

execErrState🔗

public AlertRuleBuilder execErrState(ExecErrState execErrState)

expressions🔗

public AlertRuleBuilder expressions(Map<String, com.grafana.foundation.cog.Builder<Expression>> expressions)

for🔗

public AlertRuleBuilder for(String forArg)

keepFiringFor🔗

public AlertRuleBuilder keepFiringFor(String keepFiringFor)

labels🔗

public AlertRuleBuilder labels(Map<String, String> labels)

missingSeriesEvalsToResolve🔗

public AlertRuleBuilder missingSeriesEvalsToResolve(Long missingSeriesEvalsToResolve)

noDataState🔗

public AlertRuleBuilder noDataState(NoDataState noDataState)

notificationSettings🔗

public AlertRuleBuilder notificationSettings(NotificationSettings notificationSettings)

panelRef🔗

public AlertRuleBuilder panelRef(com.grafana.foundation.cog.Builder<PanelRef> panelRef)

paused🔗

public AlertRuleBuilder paused(Boolean paused)

title🔗

public AlertRuleBuilder title(String title)

trigger🔗

public AlertRuleBuilder trigger(com.grafana.foundation.cog.Builder<IntervalTrigger> trigger)

See also🔗