@Stability(value=Stable) public static final class CfnAlertProps.Builder extends Object implements software.amazon.jsii.Builder<CfnAlertProps>
CfnAlertProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnAlertProps.Builder |
action(CfnAlert.ActionProperty action)
Sets the value of
CfnAlertProps.getAction() |
CfnAlertProps.Builder |
action(IResolvable action)
Sets the value of
CfnAlertProps.getAction() |
CfnAlertProps.Builder |
alertDescription(String alertDescription)
Sets the value of
CfnAlertProps.getAlertDescription() |
CfnAlertProps.Builder |
alertName(String alertName)
Sets the value of
CfnAlertProps.getAlertName() |
CfnAlertProps.Builder |
alertSensitivityThreshold(Number alertSensitivityThreshold)
Sets the value of
CfnAlertProps.getAlertSensitivityThreshold() |
CfnAlertProps.Builder |
anomalyDetectorArn(String anomalyDetectorArn)
Sets the value of
CfnAlertProps.getAnomalyDetectorArn() |
CfnAlertProps |
build()
Builds the configured instance.
|
@Stability(value=Stable) public CfnAlertProps.Builder action(CfnAlert.ActionProperty action)
CfnAlertProps.getAction()action - Action that will be triggered when there is an alert. This parameter is required.this@Stability(value=Stable) public CfnAlertProps.Builder action(IResolvable action)
CfnAlertProps.getAction()action - Action that will be triggered when there is an alert. This parameter is required.this@Stability(value=Stable) public CfnAlertProps.Builder alertSensitivityThreshold(Number alertSensitivityThreshold)
CfnAlertProps.getAlertSensitivityThreshold()alertSensitivityThreshold - An integer from 0 to 100 specifying the alert sensitivity threshold. This parameter is required.this@Stability(value=Stable) public CfnAlertProps.Builder anomalyDetectorArn(String anomalyDetectorArn)
CfnAlertProps.getAnomalyDetectorArn()anomalyDetectorArn - The ARN of the detector to which the alert is attached. This parameter is required.this@Stability(value=Stable) public CfnAlertProps.Builder alertDescription(String alertDescription)
CfnAlertProps.getAlertDescription()alertDescription - A description of the alert.this@Stability(value=Stable) public CfnAlertProps.Builder alertName(String alertName)
CfnAlertProps.getAlertName()alertName - The name of the alert.this@Stability(value=Stable) public CfnAlertProps build()
build in interface software.amazon.jsii.Builder<CfnAlertProps>CfnAlertPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.