@Stability(value=Stable) @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(CreateAlarmOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CreateAlarmOptions.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Boolean |
getActionsEnabled()
Whether the actions for this alarm are enabled.
|
String |
getAlarmDescription()
Description for the alarm.
|
String |
getAlarmName()
Name of the alarm.
|
ComparisonOperator |
getComparisonOperator()
Comparison to use to check if metric is breaching.
|
Number |
getDatapointsToAlarm()
The number of datapoints that must be breaching to trigger the alarm.
|
String |
getEvaluateLowSampleCountPercentile()
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()
The number of periods over which data is compared to the specified threshold.
|
Duration |
getPeriod()
(deprecated) The period over which the specified statistic is applied.
|
String |
getStatistic()
(deprecated) What function to use for aggregating.
|
Number |
getThreshold()
The value against which the specified statistic is compared.
|
TreatMissingData |
getTreatMissingData()
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(CreateAlarmOptions.Builder builder)
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 CreateAlarmOptionspublic final String getEvaluateLowSampleCountPercentile()
CreateAlarmOptionsUsed only for alarms that are based on percentiles.
Default: - Not configured.
getEvaluateLowSampleCountPercentile in interface CreateAlarmOptionspublic final Duration getPeriod()
CreateAlarmOptions
Cannot be used with MathExpression objects.
Default: - The period from the metric
getPeriod in interface CreateAlarmOptionspublic final String getStatistic()
CreateAlarmOptionsCan be one of the following:
Cannot be used with MathExpression objects.
Default: - The statistic from the metric
getStatistic 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 © 2023. All rights reserved.