@Stability(value=Experimental) @Internal public static final class AlarmProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AlarmProps
AlarmPropssoftware.amazon.jsii.JsiiObject.InitializationModeAlarmProps.Builder, AlarmProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(IMetric metric,
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
AlarmProps.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()
(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.
|
IMetric |
getMetric()
(experimental) The metric to add the alarm on.
|
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(IMetric metric, Number evaluationPeriods, Number threshold, Boolean actionsEnabled, String alarmDescription, String alarmName, ComparisonOperator comparisonOperator, Number datapointsToAlarm, String evaluateLowSampleCountPercentile, TreatMissingData treatMissingData)
AlarmProps.Builder.public final IMetric getMetric()
AlarmPropsMetric objects can be obtained from most resources, or you can construct custom Metric objects by instantiating one.
getMetric in interface AlarmPropspublic 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.