@Stability(value=Experimental) public static final class CreateAlarmOptions.Builder extends Object implements software.amazon.jsii.Builder<CreateAlarmOptions>
CreateAlarmOptions| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public CreateAlarmOptions.Builder evaluationPeriods(Number evaluationPeriods)
CreateAlarmOptions.getEvaluationPeriods()evaluationPeriods - The number of periods over which data is compared to the specified threshold. This parameter is required.this@Stability(value=Experimental) public CreateAlarmOptions.Builder threshold(Number threshold)
CreateAlarmOptions.getThreshold()threshold - The value against which the specified statistic is compared. This parameter is required.this@Stability(value=Experimental) public CreateAlarmOptions.Builder actionsEnabled(Boolean actionsEnabled)
CreateAlarmOptions.getActionsEnabled()actionsEnabled - Whether the actions for this alarm are enabled.this@Stability(value=Experimental) public CreateAlarmOptions.Builder alarmDescription(String alarmDescription)
CreateAlarmOptions.getAlarmDescription()alarmDescription - Description for the alarm.this@Stability(value=Experimental) public CreateAlarmOptions.Builder alarmName(String alarmName)
CreateAlarmOptions.getAlarmName()alarmName - Name of the alarm.this@Stability(value=Experimental) public CreateAlarmOptions.Builder comparisonOperator(ComparisonOperator comparisonOperator)
CreateAlarmOptions.getComparisonOperator()comparisonOperator - Comparison to use to check if metric is breaching.this@Stability(value=Experimental) public CreateAlarmOptions.Builder datapointsToAlarm(Number datapointsToAlarm)
CreateAlarmOptions.getDatapointsToAlarm()datapointsToAlarm - The number of datapoints that must be breaching to trigger the alarm.
This is used only if you are setting an "M
out of N" alarm. In that case, this value is the M. For more information, see Evaluating an Alarm in the Amazon
CloudWatch User Guide.this@Stability(value=Experimental) public CreateAlarmOptions.Builder evaluateLowSampleCountPercentile(String evaluateLowSampleCountPercentile)
CreateAlarmOptions.getEvaluateLowSampleCountPercentile()evaluateLowSampleCountPercentile - Specifies whether to evaluate the data and potentially change the alarm state if there are too few data points to be statistically significant.
Used only for alarms that are based on percentiles.this@Stability(value=Experimental) public CreateAlarmOptions.Builder treatMissingData(TreatMissingData treatMissingData)
CreateAlarmOptions.getTreatMissingData()treatMissingData - Sets how this alarm is to handle missing data points.this@Stability(value=Experimental) public CreateAlarmOptions build()
build in interface software.amazon.jsii.Builder<CreateAlarmOptions>CreateAlarmOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.