@Stability(value=Stable) @Internal public static final class MetricStatConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements MetricStatConfig
MetricStatConfigsoftware.amazon.jsii.JsiiObject.InitializationModeMetricStatConfig.Builder, MetricStatConfig.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(MetricStatConfig.Builder builder)
Constructor that initializes the object based on literal property values passed by the
MetricStatConfig.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getAccount()
Account which this metric comes from.
|
List<Dimension> |
getDimensions()
The dimensions to apply to the alarm.
|
String |
getMetricName()
Name of the metric.
|
String |
getNamespace()
Namespace of the metric.
|
Duration |
getPeriod()
How many seconds to aggregate over.
|
String |
getRegion()
Region which this metric comes from.
|
String |
getStatistic()
Aggregation function to use (can be either simple or a percentile).
|
Unit |
getUnitFilter()
Unit used to filter the metric stream.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(MetricStatConfig.Builder builder)
MetricStatConfig.Builder.public final String getMetricName()
MetricStatConfiggetMetricName in interface MetricStatConfigpublic final String getNamespace()
MetricStatConfiggetNamespace in interface MetricStatConfigpublic final Duration getPeriod()
MetricStatConfiggetPeriod in interface MetricStatConfigpublic final String getStatistic()
MetricStatConfiggetStatistic in interface MetricStatConfigpublic final String getAccount()
MetricStatConfigDefault: Deployment account.
getAccount in interface MetricStatConfigpublic final List<Dimension> getDimensions()
MetricStatConfigDefault: []
getDimensions in interface MetricStatConfigpublic final String getRegion()
MetricStatConfigDefault: Deployment region.
getRegion in interface MetricStatConfigpublic final Unit getUnitFilter()
MetricStatConfigOnly 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
getUnitFilter in interface MetricStatConfig@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.