Class CfnAlertPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lookoutmetrics.CfnAlertPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAlertPropsMixin>
- Enclosing class:
CfnAlertPropsMixin
@Stability(Stable)
public static final class CfnAlertPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAlertPropsMixin>
A fluent builder for
CfnAlertPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionAction that will be triggered when there is an alert.action(IResolvable action) Action that will be triggered when there is an alert.alertDescription(String alertDescription) A description of the alert.The name of the alert.alertSensitivityThreshold(Number alertSensitivityThreshold) An integer from 0 to 100 specifying the alert sensitivity threshold.anomalyDetectorArn(String anomalyDetectorArn) The ARN of the detector to which the alert is attached.build()static CfnAlertPropsMixin.Buildercreate()static CfnAlertPropsMixin.Buildercreate(CfnPropertyMixinOptions options)
-
Method Details
-
create
- Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnAlertPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnAlertPropsMixin.Builder.
-
action
Action that will be triggered when there is an alert.- Parameters:
action- Action that will be triggered when there is an alert. This parameter is required.- Returns:
this- See Also:
-
action
@Stability(Stable) public CfnAlertPropsMixin.Builder action(CfnAlertPropsMixin.ActionProperty action) Action that will be triggered when there is an alert.- Parameters:
action- Action that will be triggered when there is an alert. This parameter is required.- Returns:
this- See Also:
-
alertDescription
A description of the alert.- Parameters:
alertDescription- A description of the alert. This parameter is required.- Returns:
this- See Also:
-
alertName
The name of the alert.- Parameters:
alertName- The name of the alert. This parameter is required.- Returns:
this- See Also:
-
alertSensitivityThreshold
@Stability(Stable) public CfnAlertPropsMixin.Builder alertSensitivityThreshold(Number alertSensitivityThreshold) An integer from 0 to 100 specifying the alert sensitivity threshold.- Parameters:
alertSensitivityThreshold- An integer from 0 to 100 specifying the alert sensitivity threshold. This parameter is required.- Returns:
this- See Also:
-
anomalyDetectorArn
The ARN of the detector to which the alert is attached.- Parameters:
anomalyDetectorArn- The ARN of the detector to which the alert is attached. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAlertPropsMixin>- Returns:
- a newly built instance of
CfnAlertPropsMixin.
-