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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.cloudwatch.MetricStatConfig
MetricStatConfig.Builder, MetricStatConfig.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(MetricStatConfig.Builder builder) Constructor that initializes the object based on literal property values passed by theMetricStatConfig.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 String
Account which this metric comes from.The dimensions to apply to the alarm.final String
Name of the metric.final String
Namespace of the metric.final Duration
How many seconds to aggregate over.final String
Region which this metric comes from.final String
Aggregation function to use (can be either simple or a percentile).final Unit
Unit used to filter the metric stream.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 theMetricStatConfig.Builder
.
-
-
Method Details
-
getMetricName
Description copied from interface:MetricStatConfig
Name of the metric.- Specified by:
getMetricName
in interfaceMetricStatConfig
-
getNamespace
Description copied from interface:MetricStatConfig
Namespace of the metric.- Specified by:
getNamespace
in interfaceMetricStatConfig
-
getPeriod
Description copied from interface:MetricStatConfig
How many seconds to aggregate over.- Specified by:
getPeriod
in interfaceMetricStatConfig
-
getStatistic
Description copied from interface:MetricStatConfig
Aggregation function to use (can be either simple or a percentile).- Specified by:
getStatistic
in interfaceMetricStatConfig
-
getAccount
Description copied from interface:MetricStatConfig
Account which this metric comes from.Default: Deployment account.
- Specified by:
getAccount
in interfaceMetricStatConfig
-
getDimensions
Description copied from interface:MetricStatConfig
The dimensions to apply to the alarm.Default: []
- Specified by:
getDimensions
in interfaceMetricStatConfig
-
getRegion
Description copied from interface:MetricStatConfig
Region which this metric comes from.Default: Deployment region.
- Specified by:
getRegion
in interfaceMetricStatConfig
-
getUnitFilter
Description copied from interface:MetricStatConfig
Unit 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
unit
to clearly communicate its purpose.Default: - Refer to all metric datums
- Specified by:
getUnitFilter
in interfaceMetricStatConfig
-
$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()
-