@Stability(value=Experimental) public static final class CreateAlarmOptions.Builder extends Object
CreateAlarmOptions| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public CreateAlarmOptions.Builder withEvaluationPeriods(Number value)
value - The number of periods over which data is compared to the specified threshold.this@Stability(value=Experimental) public CreateAlarmOptions.Builder withThreshold(Number value)
value - The value against which the specified statistic is compared.this@Stability(value=Experimental) public CreateAlarmOptions.Builder withActionsEnabled(@Nullable Boolean value)
value - Whether the actions for this alarm are enabled.this@Stability(value=Experimental) public CreateAlarmOptions.Builder withAlarmDescription(@Nullable String value)
value - Description for the alarm.this@Stability(value=Experimental) public CreateAlarmOptions.Builder withAlarmName(@Nullable String value)
value - Name of the alarm.this@Stability(value=Experimental) public CreateAlarmOptions.Builder withComparisonOperator(@Nullable ComparisonOperator value)
value - Comparison to use to check if metric is breaching.this@Stability(value=Experimental) public CreateAlarmOptions.Builder withDatapointsToAlarm(@Nullable Number value)
value - The number of datapoints that must be breaching to trigger the alarm.this@Stability(value=Experimental) public CreateAlarmOptions.Builder withEvaluateLowSampleCountPercentile(@Nullable String value)
value - Specifies whether to evaluate the data and potentially change the alarm state if there are too few data points to be statistically significant.this@Stability(value=Experimental) public CreateAlarmOptions.Builder withPeriod(@Nullable software.amazon.awscdk.core.Duration value)
value - The period over which the specified statistic is applied.this@Stability(value=Experimental) public CreateAlarmOptions.Builder withStatistic(@Nullable String value)
value - What function to use for aggregating.this@Stability(value=Experimental) public CreateAlarmOptions.Builder withTreatMissingData(@Nullable TreatMissingData value)
value - Sets how this alarm is to handle missing data points.this@Stability(value=Experimental) public CreateAlarmOptions build()
CreateAlarmOptionsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.