Interface MetricAlertCondition.DefinitionStages.WithConditionAttach<ParentT>
-
- Type Parameters:
ParentT- the stage of the parent Metric Alert definition to return to after attaching this definition
- Enclosing interface:
- MetricAlertCondition.DefinitionStages
public static interface MetricAlertCondition.DefinitionStages.WithConditionAttach<ParentT>The stage of the definition which specifies metric alert additional filtering options.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ParentTattach()Attaches the defined condition to the parent metric alert.MetricAlertCondition.DefinitionStages.WithConditionAttach<ParentT>withDimension(String dimensionName, String... values)Adds a metric dimension filter.
-
-
-
Method Detail
-
withDimension
MetricAlertCondition.DefinitionStages.WithConditionAttach<ParentT> withDimension(String dimensionName, String... values)
Adds a metric dimension filter.- Parameters:
dimensionName- the name of the dimension.values- list of dimension values to alert on.- Returns:
- the next stage of metric alert condition definition.
-
attach
ParentT attach()
Attaches the defined condition to the parent metric alert.- Returns:
- the next stage of metric alert definition.
-
-