@Stability(value=Stable) public static final class CfnAlarmProps.Builder extends Object
CfnAlarmProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnAlarmProps |
build()
Builds the configured instance.
|
CfnAlarmProps.Builder |
withActionsEnabled(Boolean value)
Sets the value of ActionsEnabled
|
CfnAlarmProps.Builder |
withActionsEnabled(software.amazon.awscdk.core.IResolvable value)
Sets the value of ActionsEnabled
|
CfnAlarmProps.Builder |
withAlarmActions(List<String> value)
Sets the value of AlarmActions
|
CfnAlarmProps.Builder |
withAlarmDescription(String value)
Sets the value of AlarmDescription
|
CfnAlarmProps.Builder |
withAlarmName(String value)
Sets the value of AlarmName
|
CfnAlarmProps.Builder |
withComparisonOperator(String value)
Sets the value of ComparisonOperator
|
CfnAlarmProps.Builder |
withDatapointsToAlarm(Number value)
Sets the value of DatapointsToAlarm
|
CfnAlarmProps.Builder |
withDimensions(software.amazon.awscdk.core.IResolvable value)
Sets the value of Dimensions
|
CfnAlarmProps.Builder |
withDimensions(List<Object> value)
Sets the value of Dimensions
|
CfnAlarmProps.Builder |
withEvaluateLowSampleCountPercentile(String value)
Sets the value of EvaluateLowSampleCountPercentile
|
CfnAlarmProps.Builder |
withEvaluationPeriods(Number value)
Sets the value of EvaluationPeriods
|
CfnAlarmProps.Builder |
withExtendedStatistic(String value)
Sets the value of ExtendedStatistic
|
CfnAlarmProps.Builder |
withInsufficientDataActions(List<String> value)
Sets the value of InsufficientDataActions
|
CfnAlarmProps.Builder |
withMetricName(String value)
Sets the value of MetricName
|
CfnAlarmProps.Builder |
withMetrics(software.amazon.awscdk.core.IResolvable value)
Sets the value of Metrics
|
CfnAlarmProps.Builder |
withMetrics(List<Object> value)
Sets the value of Metrics
|
CfnAlarmProps.Builder |
withNamespace(String value)
Sets the value of Namespace
|
CfnAlarmProps.Builder |
withOkActions(List<String> value)
Sets the value of OkActions
|
CfnAlarmProps.Builder |
withPeriod(Number value)
Sets the value of Period
|
CfnAlarmProps.Builder |
withStatistic(String value)
Sets the value of Statistic
|
CfnAlarmProps.Builder |
withThreshold(Number value)
Sets the value of Threshold
|
CfnAlarmProps.Builder |
withTreatMissingData(String value)
Sets the value of TreatMissingData
|
CfnAlarmProps.Builder |
withUnit(String value)
Sets the value of Unit
|
@Stability(value=Stable) public CfnAlarmProps.Builder withComparisonOperator(String value)
value - `AWS::CloudWatch::Alarm.ComparisonOperator`.this@Stability(value=Stable) public CfnAlarmProps.Builder withEvaluationPeriods(Number value)
value - `AWS::CloudWatch::Alarm.EvaluationPeriods`.this@Stability(value=Stable) public CfnAlarmProps.Builder withThreshold(Number value)
value - `AWS::CloudWatch::Alarm.Threshold`.this@Stability(value=Stable) public CfnAlarmProps.Builder withActionsEnabled(@Nullable Boolean value)
value - `AWS::CloudWatch::Alarm.ActionsEnabled`.this@Stability(value=Stable) public CfnAlarmProps.Builder withActionsEnabled(@Nullable software.amazon.awscdk.core.IResolvable value)
value - `AWS::CloudWatch::Alarm.ActionsEnabled`.this@Stability(value=Stable) public CfnAlarmProps.Builder withAlarmActions(@Nullable List<String> value)
value - `AWS::CloudWatch::Alarm.AlarmActions`.this@Stability(value=Stable) public CfnAlarmProps.Builder withAlarmDescription(@Nullable String value)
value - `AWS::CloudWatch::Alarm.AlarmDescription`.this@Stability(value=Stable) public CfnAlarmProps.Builder withAlarmName(@Nullable String value)
value - `AWS::CloudWatch::Alarm.AlarmName`.this@Stability(value=Stable) public CfnAlarmProps.Builder withDatapointsToAlarm(@Nullable Number value)
value - `AWS::CloudWatch::Alarm.DatapointsToAlarm`.this@Stability(value=Stable) public CfnAlarmProps.Builder withDimensions(@Nullable software.amazon.awscdk.core.IResolvable value)
value - `AWS::CloudWatch::Alarm.Dimensions`.this@Stability(value=Stable) public CfnAlarmProps.Builder withDimensions(@Nullable List<Object> value)
value - `AWS::CloudWatch::Alarm.Dimensions`.this@Stability(value=Stable) public CfnAlarmProps.Builder withEvaluateLowSampleCountPercentile(@Nullable String value)
value - `AWS::CloudWatch::Alarm.EvaluateLowSampleCountPercentile`.this@Stability(value=Stable) public CfnAlarmProps.Builder withExtendedStatistic(@Nullable String value)
value - `AWS::CloudWatch::Alarm.ExtendedStatistic`.this@Stability(value=Stable) public CfnAlarmProps.Builder withInsufficientDataActions(@Nullable List<String> value)
value - `AWS::CloudWatch::Alarm.InsufficientDataActions`.this@Stability(value=Stable) public CfnAlarmProps.Builder withMetricName(@Nullable String value)
value - `AWS::CloudWatch::Alarm.MetricName`.this@Stability(value=Stable) public CfnAlarmProps.Builder withMetrics(@Nullable software.amazon.awscdk.core.IResolvable value)
value - `AWS::CloudWatch::Alarm.Metrics`.this@Stability(value=Stable) public CfnAlarmProps.Builder withMetrics(@Nullable List<Object> value)
value - `AWS::CloudWatch::Alarm.Metrics`.this@Stability(value=Stable) public CfnAlarmProps.Builder withNamespace(@Nullable String value)
value - `AWS::CloudWatch::Alarm.Namespace`.this@Stability(value=Stable) public CfnAlarmProps.Builder withOkActions(@Nullable List<String> value)
value - `AWS::CloudWatch::Alarm.OKActions`.this@Stability(value=Stable) public CfnAlarmProps.Builder withPeriod(@Nullable Number value)
value - `AWS::CloudWatch::Alarm.Period`.this@Stability(value=Stable) public CfnAlarmProps.Builder withStatistic(@Nullable String value)
value - `AWS::CloudWatch::Alarm.Statistic`.this@Stability(value=Stable) public CfnAlarmProps.Builder withTreatMissingData(@Nullable String value)
value - `AWS::CloudWatch::Alarm.TreatMissingData`.this@Stability(value=Stable) public CfnAlarmProps.Builder withUnit(@Nullable String value)
value - `AWS::CloudWatch::Alarm.Unit`.this@Stability(value=Stable) public CfnAlarmProps build()
CfnAlarmPropsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.