Class MetricStatConfig.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloudwatch.MetricStatConfig.Jsii$Proxy
- All Implemented Interfaces:
MetricStatConfig,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
MetricStatConfig
@Stability(Stable)
@Internal
public static final class MetricStatConfig.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements MetricStatConfig
An implementation for
MetricStatConfig-
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.MetricStatConfig
MetricStatConfig.Builder, MetricStatConfig.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(MetricStatConfig.Builder builder) Constructor that initializes the object based on literal property values passed by theMetricStatConfig.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 StringAccount which this metric comes from.final StringAccount set directly on the metric, not inherited from the attached stack.The dimensions to apply to the alarm.final StringName of the metric.final StringNamespace of the metric.final DurationHow many seconds to aggregate over.final StringRegion which this metric comes from.final StringRegion set directly on the metric, not inherited from the attached stack.final StringAggregation function to use (can be either simple or a percentile).final UnitUnit used to filter the metric stream.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 theMetricStatConfig.Builder.
-
-
Method Details
-
getMetricName
Description copied from interface:MetricStatConfigName of the metric.- Specified by:
getMetricNamein interfaceMetricStatConfig
-
getNamespace
Description copied from interface:MetricStatConfigNamespace of the metric.- Specified by:
getNamespacein interfaceMetricStatConfig
-
getPeriod
Description copied from interface:MetricStatConfigHow many seconds to aggregate over.- Specified by:
getPeriodin interfaceMetricStatConfig
-
getStatistic
Description copied from interface:MetricStatConfigAggregation function to use (can be either simple or a percentile).- Specified by:
getStatisticin interfaceMetricStatConfig
-
getAccount
Description copied from interface:MetricStatConfigAccount which this metric comes from.Default: Deployment account.
- Specified by:
getAccountin interfaceMetricStatConfig
-
getAccountOverride
Description copied from interface:MetricStatConfigAccount set directly on the metric, not inherited from the attached stack.Default: No override.
- Specified by:
getAccountOverridein interfaceMetricStatConfig
-
getDimensions
Description copied from interface:MetricStatConfigThe dimensions to apply to the alarm.Default: []
- Specified by:
getDimensionsin interfaceMetricStatConfig
-
getRegion
Description copied from interface:MetricStatConfigRegion which this metric comes from.Default: Deployment region.
- Specified by:
getRegionin interfaceMetricStatConfig
-
getRegionOverride
Description copied from interface:MetricStatConfigRegion set directly on the metric, not inherited from the attached stack.Default: No override.
- Specified by:
getRegionOverridein interfaceMetricStatConfig
-
getUnitFilter
Description copied from interface:MetricStatConfigUnit used to filter the metric stream.Only refer to datums emitted to the metric stream with the given unit and ignore all others. Only useful when datums are being emitted to the same metric stream under different units.
This field has been renamed from plain
unitto clearly communicate its purpose.Default: - Refer to all metric datums
- Specified by:
getUnitFilterin interfaceMetricStatConfig
-
$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()
-