Class AlarmProps.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloudwatch.AlarmProps.Jsii$Proxy
- All Implemented Interfaces:
AlarmProps
,CreateAlarmOptions
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
AlarmProps
@Stability(Stable)
@Internal
public static final class AlarmProps.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements AlarmProps
An implementation for
AlarmProps
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudwatch.AlarmProps
AlarmProps.Builder, AlarmProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(AlarmProps.Builder builder) Constructor that initializes the object based on literal property values passed by theAlarmProps.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final Boolean
Whether the actions for this alarm are enabled.final String
Description for the alarm.final String
Name of the alarm.final ComparisonOperator
Comparison to use to check if metric is breaching.final Number
The number of datapoints that must be breaching to trigger the alarm.final String
Specifies whether to evaluate the data and potentially change the alarm state if there are too few data points to be statistically significant.final Number
The number of periods over which data is compared to the specified threshold.final IMetric
The metric to add the alarm on.final Number
The value against which the specified statistic is compared.final TreatMissingData
Sets how this alarm is to handle missing data points.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theAlarmProps.Builder
.
-
-
Method Details
-
getMetric
Description copied from interface:AlarmProps
The metric to add the alarm on.Metric objects can be obtained from most resources, or you can construct custom Metric objects by instantiating one.
- Specified by:
getMetric
in interfaceAlarmProps
-
getEvaluationPeriods
Description copied from interface:CreateAlarmOptions
The number of periods over which data is compared to the specified threshold.- Specified by:
getEvaluationPeriods
in interfaceCreateAlarmOptions
-
getThreshold
Description copied from interface:CreateAlarmOptions
The value against which the specified statistic is compared.- Specified by:
getThreshold
in interfaceCreateAlarmOptions
-
getActionsEnabled
Description copied from interface:CreateAlarmOptions
Whether the actions for this alarm are enabled.Default: true
- Specified by:
getActionsEnabled
in interfaceCreateAlarmOptions
-
getAlarmDescription
Description copied from interface:CreateAlarmOptions
Description for the alarm.Default: No description
- Specified by:
getAlarmDescription
in interfaceCreateAlarmOptions
-
getAlarmName
Description copied from interface:CreateAlarmOptions
Name of the alarm.Default: Automatically generated name
- Specified by:
getAlarmName
in interfaceCreateAlarmOptions
-
getComparisonOperator
Description copied from interface:CreateAlarmOptions
Comparison to use to check if metric is breaching.Default: GreaterThanOrEqualToThreshold
- Specified by:
getComparisonOperator
in interfaceCreateAlarmOptions
-
getDatapointsToAlarm
Description copied from interface:CreateAlarmOptions
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.
Default: ``evaluationPeriods``
- Specified by:
getDatapointsToAlarm
in interfaceCreateAlarmOptions
- See Also:
-
getEvaluateLowSampleCountPercentile
Description copied from interface:CreateAlarmOptions
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.
Default: - Not configured.
- Specified by:
getEvaluateLowSampleCountPercentile
in interfaceCreateAlarmOptions
-
getTreatMissingData
Description copied from interface:CreateAlarmOptions
Sets how this alarm is to handle missing data points.Default: TreatMissingData.Missing
- Specified by:
getTreatMissingData
in interfaceCreateAlarmOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-