@Stability(value=Experimental) @Internal public static final class CreateAlarmOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CreateAlarmOptions
CreateAlarmOptionssoftware.amazon.jsii.JsiiObject.InitializationModeCreateAlarmOptions.Builder, CreateAlarmOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(Number evaluationPeriods,
Number threshold,
Boolean actionsEnabled,
String alarmDescription,
String alarmName,
ComparisonOperator comparisonOperator,
Number datapointsToAlarm,
String evaluateLowSampleCountPercentile,
TreatMissingData treatMissingData)
Constructor that initializes the object based on literal property values passed by the
CreateAlarmOptions.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Boolean |
getActionsEnabled()
(experimental) Whether the actions for this alarm are enabled.
|
String |
getAlarmDescription()
(experimental) Description for the alarm.
|
String |
getAlarmName()
(experimental) Name of the alarm.
|
ComparisonOperator |
getComparisonOperator()
(experimental) Comparison to use to check if metric is breaching.
|
Number |
getDatapointsToAlarm()
(experimental) The number of datapoints that must be breaching to trigger the alarm.
|
String |
getEvaluateLowSampleCountPercentile()
(experimental) Specifies whether to evaluate the data and potentially change the alarm state if there are too few data points to be statistically significant.
|
Number |
getEvaluationPeriods()
(experimental) The number of periods over which data is compared to the specified threshold.
|
Number |
getThreshold()
(experimental) The value against which the specified statistic is compared.
|
TreatMissingData |
getTreatMissingData()
(experimental) Sets how this alarm is to handle missing data points.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(Number evaluationPeriods, Number threshold, Boolean actionsEnabled, String alarmDescription, String alarmName, ComparisonOperator comparisonOperator, Number datapointsToAlarm, String evaluateLowSampleCountPercentile, TreatMissingData treatMissingData)
CreateAlarmOptions.Builder.public final Number getEvaluationPeriods()
CreateAlarmOptionsgetEvaluationPeriods in interface CreateAlarmOptionspublic final Number getThreshold()
CreateAlarmOptionsgetThreshold in interface CreateAlarmOptionspublic final Boolean getActionsEnabled()
CreateAlarmOptionsDefault: true
getActionsEnabled in interface CreateAlarmOptionspublic final String getAlarmDescription()
CreateAlarmOptionsDefault: No description
getAlarmDescription in interface CreateAlarmOptionspublic final String getAlarmName()
CreateAlarmOptionsDefault: Automatically generated name
getAlarmName in interface CreateAlarmOptionspublic final ComparisonOperator getComparisonOperator()
CreateAlarmOptionsDefault: GreaterThanOrEqualToThreshold
getComparisonOperator in interface CreateAlarmOptionspublic final Number getDatapointsToAlarm()
CreateAlarmOptionsThis 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.
Default: ``evaluationPeriods``
getDatapointsToAlarm in interface CreateAlarmOptionshttps://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/AlarmThatSendsEmail.html#alarm-evaluationpublic final String getEvaluateLowSampleCountPercentile()
CreateAlarmOptionsUsed only for alarms that are based on percentiles.
Default: - Not configured.
getEvaluateLowSampleCountPercentile in interface CreateAlarmOptionspublic final TreatMissingData getTreatMissingData()
CreateAlarmOptionsDefault: TreatMissingData.Missing
getTreatMissingData in interface CreateAlarmOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.