NotificationPolicyBuilder
Constructor
new NotificationPolicyBuilder()
Methods
build
Builds the object.
public NotificationPolicy build()
activeTimeIntervals
public NotificationPolicyBuilder activeTimeIntervals(List<String> activeTimeIntervals)
continue
public NotificationPolicyBuilder continue(Boolean continueArg)
groupBy
public NotificationPolicyBuilder groupBy(List<String> groupBy)
groupInterval
public NotificationPolicyBuilder groupInterval(String groupInterval)
groupWait
public NotificationPolicyBuilder groupWait(String groupWait)
match
Deprecated. Remove before v1.0 release.
public NotificationPolicyBuilder match(Map<String, String> match)
matchRe
public NotificationPolicyBuilder matchRe(Map<String, String> matchRe)
matchers
Matchers is a slice of Matchers that is sortable, implements Stringer, and
provides a Matches method to match a LabelSet against all Matchers in the
slice. Note that some users of Matchers might require it to be sorted.
public NotificationPolicyBuilder matchers(List<com.grafana.foundation.cog.Builder<Matcher>> matchers)
muteTimeIntervals
public NotificationPolicyBuilder muteTimeIntervals(List<String> muteTimeIntervals)
objectMatchers
public NotificationPolicyBuilder objectMatchers(List<List<String>> objectMatchers)
provenance
public NotificationPolicyBuilder provenance(String provenance)
receiver
public NotificationPolicyBuilder receiver(String receiver)
repeatInterval
public NotificationPolicyBuilder repeatInterval(String repeatInterval)
routes
public NotificationPolicyBuilder routes(List<com.grafana.foundation.cog.Builder<NotificationPolicy>> routes)
See also