Class CreateAlarmOptions.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloudwatch.CreateAlarmOptions.Jsii$Proxy
- All Implemented Interfaces:
CreateAlarmOptions
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CreateAlarmOptions
@Stability(Stable)
@Internal
public static final class CreateAlarmOptions.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CreateAlarmOptions
An implementation for
CreateAlarmOptions
-
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.CreateAlarmOptions
CreateAlarmOptions.Builder, CreateAlarmOptions.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(CreateAlarmOptions.Builder builder) Constructor that initializes the object based on literal property values passed by theCreateAlarmOptions.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 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 theCreateAlarmOptions.Builder
.
-
-
Method Details
-
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()
-