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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudwatch.AlarmProps
AlarmProps.Builder, AlarmProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(AlarmProps.Builder builder) Constructor that initializes the object based on literal property values passed by theAlarmProps.Builder.protectedJsii$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.JsonNodefinal booleanfinal BooleanWhether the actions for this alarm are enabled.final StringDescription for the alarm.final StringName of the alarm.final ComparisonOperatorComparison to use to check if metric is breaching.final NumberThe number of datapoints that must be breaching to trigger the alarm.final StringSpecifies whether to evaluate the data and potentially change the alarm state if there are too few data points to be statistically significant.final NumberThe number of periods over which data is compared to the specified threshold.final IMetricThe metric to add the alarm on.final NumberThe value against which the specified statistic is compared.final TreatMissingDataSets how this alarm is to handle missing data points.final inthashCode()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:AlarmPropsThe 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:
getMetricin interfaceAlarmProps
-
getEvaluationPeriods
Description copied from interface:CreateAlarmOptionsThe number of periods over which data is compared to the specified threshold.- Specified by:
getEvaluationPeriodsin interfaceCreateAlarmOptions
-
getThreshold
Description copied from interface:CreateAlarmOptionsThe value against which the specified statistic is compared.- Specified by:
getThresholdin interfaceCreateAlarmOptions
-
getActionsEnabled
Description copied from interface:CreateAlarmOptionsWhether the actions for this alarm are enabled.Default: true
- Specified by:
getActionsEnabledin interfaceCreateAlarmOptions
-
getAlarmDescription
Description copied from interface:CreateAlarmOptionsDescription for the alarm.Default: No description
- Specified by:
getAlarmDescriptionin interfaceCreateAlarmOptions
-
getAlarmName
Description copied from interface:CreateAlarmOptionsName of the alarm.Default: Automatically generated name
- Specified by:
getAlarmNamein interfaceCreateAlarmOptions
-
getComparisonOperator
Description copied from interface:CreateAlarmOptionsComparison to use to check if metric is breaching.Default: GreaterThanOrEqualToThreshold
- Specified by:
getComparisonOperatorin interfaceCreateAlarmOptions
-
getDatapointsToAlarm
Description copied from interface:CreateAlarmOptionsThe 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:
getDatapointsToAlarmin interfaceCreateAlarmOptions- See Also:
-
getEvaluateLowSampleCountPercentile
Description copied from interface:CreateAlarmOptionsSpecifies 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:
getEvaluateLowSampleCountPercentilein interfaceCreateAlarmOptions
-
getTreatMissingData
Description copied from interface:CreateAlarmOptionsSets how this alarm is to handle missing data points.Default: TreatMissingData.Missing
- Specified by:
getTreatMissingDatain interfaceCreateAlarmOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-