@Stability(value=Stable) @Internal public static final class CfnMetricFilter.MetricTransformationProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnMetricFilter.MetricTransformationProperty
CfnMetricFilter.MetricTransformationPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnMetricFilter.MetricTransformationProperty.Builder, CfnMetricFilter.MetricTransformationProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnMetricFilter.MetricTransformationProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnMetricFilter.DimensionProperty.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Number |
getDefaultValue()
(Optional) The value to emit when a filter pattern does not match a log event.
|
Object |
getDimensions()
`CfnMetricFilter.MetricTransformationProperty.Dimensions`.
|
String |
getMetricName()
The name of the CloudWatch metric.
|
String |
getMetricNamespace()
A custom namespace to contain your metric in CloudWatch.
|
String |
getMetricValue()
The value that is published to the CloudWatch metric.
|
String |
getUnit()
`CfnMetricFilter.MetricTransformationProperty.Unit`.
|
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(CfnMetricFilter.MetricTransformationProperty.Builder builder)
CfnMetricFilter.DimensionProperty.Builder.public final String getMetricName()
CfnMetricFilter.MetricTransformationPropertygetMetricName in interface CfnMetricFilter.MetricTransformationPropertypublic final String getMetricNamespace()
CfnMetricFilter.MetricTransformationPropertyUse namespaces to group together metrics that are similar. For more information, see Namespaces .
getMetricNamespace in interface CfnMetricFilter.MetricTransformationPropertypublic final String getMetricValue()
CfnMetricFilter.MetricTransformationProperty
For example, if you're counting the occurrences of a particular term like Error , specify 1 for the metric value. If you're counting the number of bytes transferred, reference the value that is in the log event by using $ followed by the name of the field that you specified in the filter pattern, such as $.size .
getMetricValue in interface CfnMetricFilter.MetricTransformationPropertypublic final Number getDefaultValue()
CfnMetricFilter.MetricTransformationPropertyThis value can be null.
getDefaultValue in interface CfnMetricFilter.MetricTransformationPropertypublic final Object getDimensions()
CfnMetricFilter.MetricTransformationPropertygetDimensions in interface CfnMetricFilter.MetricTransformationPropertypublic final String getUnit()
CfnMetricFilter.MetricTransformationPropertygetUnit in interface CfnMetricFilter.MetricTransformationProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.