MetricAlert.DefinitionStages.WithActionGroup Interface

public static interface MetricAlert.DefinitionStages.WithActionGroup

The stage of the definition which specifies actions that will be activated when the conditions are met in the metric alert rules.

Method Summary

Modifier and Type Method and Description
abstract WithCriteriaDefinition withActionGroups(String[] actionGroupId)

Sets the actions that will activate when the condition is met.

Method Details

withActionGroups

public abstract MetricAlert.DefinitionStages.WithCriteriaDefinition withActionGroups(String[] actionGroupId)

Sets the actions that will activate when the condition is met.

Parameters:

actionGroupId - resource Ids of the ActionGroup.

Returns:

the next stage of metric alert definition.

Applies to