MetricAlert.DefinitionStages.WithCreate Interface

Implements

public static interface MetricAlert.DefinitionStages.WithCreate
extends Creatable<MetricAlert>, DefinitionWithTags<WithCreate>, WithCriteriaDefinition

The stage of the definition which contains all the minimum required inputs for the resource to be created but also allows for any other optional settings to be specified.

Method Summary

Modifier and Type Method and Description
abstract WithActionGroup withRuleDisabled()

Sets metric alert as disabled during the creation.

abstract WithCreate withoutAutoMitigation()

Sets the flag that indicates the alert should not be auto resolved.

Method Details

withRuleDisabled

public abstract MetricAlert.DefinitionStages.WithActionGroup withRuleDisabled()

Sets metric alert as disabled during the creation.

Returns:

the next stage of metric alert definition.

withoutAutoMitigation

public abstract MetricAlert.DefinitionStages.WithCreate withoutAutoMitigation()

Sets the flag that indicates the alert should not be auto resolved.

Returns:

the next stage of metric alert condition definition.

Applies to