Skip to content

NotificationPolicyBuilder🔗

Constructor🔗

new NotificationPolicyBuilder()

Methods🔗

build🔗

Builds the object.

build()

activeTimeIntervals🔗

@param array $activeTimeIntervals

activeTimeIntervals(array $activeTimeIntervals)

continue🔗

continue(bool $continue)

groupBy🔗

@param array $groupBy

groupBy(array $groupBy)

groupInterval🔗

groupInterval(string $groupInterval)

groupWait🔗

groupWait(string $groupWait)

match🔗

Deprecated. Remove before v1.0 release.

@param array $match

match(array $match)

matchRe🔗

@param array $matchRe

matchRe(array $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.

@param array<\Grafana\Foundation\Cog\Builder<\Grafana\Foundation\Alerting\Matcher>> $matchers

matchers(array $matchers)

muteTimeIntervals🔗

@param array $muteTimeIntervals

muteTimeIntervals(array $muteTimeIntervals)

objectMatchers🔗

@param array> $objectMatchers

objectMatchers(array $objectMatchers)

provenance🔗

provenance(string $provenance)

receiver🔗

receiver(string $receiver)

repeatInterval🔗

repeatInterval(string $repeatInterval)

routes🔗

@param array<\Grafana\Foundation\Cog\Builder<\Grafana\Foundation\Alerting\NotificationPolicy>> $routes

routes(array $routes)

See also🔗