Class MetricProps.Jsii$Proxy
- All Implemented Interfaces:
CommonMetricOptions,MetricProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- MetricProps
MetricProps-
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.MetricProps
MetricProps.Builder, MetricProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(MetricProps.Builder builder) Constructor that initializes the object based on literal property values passed by theMetricProps.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 StringgetColor()The hex color code, prefixed with '#' (e.g.(deprecated) Dimensions of the metric.Dimensions of the metric.final StringgetLabel()Label for this metric when added to a Graph in a Dashboard.final StringName of the metric.final StringNamespace of the metric.final DurationThe period over which the specified statistic is applied.final StringRegion which this metric comes from.final StringWhat function to use for aggregating.final UnitgetUnit()Unit 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 theMetricProps.Builder.
-
-
Method Details
-
getMetricName
Description copied from interface:MetricPropsName of the metric.- Specified by:
getMetricNamein interfaceMetricProps
-
getNamespace
Description copied from interface:MetricPropsNamespace of the metric.- Specified by:
getNamespacein interfaceMetricProps
-
getAccount
Description copied from interface:CommonMetricOptionsAccount which this metric comes from.Default: - Deployment account.
- Specified by:
getAccountin interfaceCommonMetricOptions
-
getColor
Description copied from interface:CommonMetricOptionsThe hex color code, prefixed with '#' (e.g. '#00ff00'), to use when this metric is rendered on a graph. TheColorclass has a set of standard colors that can be used here.Default: - Automatic color
- Specified by:
getColorin interfaceCommonMetricOptions
-
getDimensions
Description copied from interface:CommonMetricOptions(deprecated) Dimensions of the metric.Default: - No dimensions.
- Specified by:
getDimensionsin interfaceCommonMetricOptions
-
getDimensionsMap
Description copied from interface:CommonMetricOptionsDimensions of the metric.Default: - No dimensions.
- Specified by:
getDimensionsMapin interfaceCommonMetricOptions
-
getLabel
Description copied from interface:CommonMetricOptionsLabel for this metric when added to a Graph in a Dashboard.You can use dynamic labels to show summary information about the entire displayed time series in the legend. For example, if you use:
[max: ${MAX}] MyMetricAs the metric label, the maximum value in the visible range will be shown next to the time series name in the graph's legend.
Default: - No label
- Specified by:
getLabelin interfaceCommonMetricOptions
-
getPeriod
Description copied from interface:CommonMetricOptionsThe period over which the specified statistic is applied.Default: Duration.minutes(5)
- Specified by:
getPeriodin interfaceCommonMetricOptions
-
getRegion
Description copied from interface:CommonMetricOptionsRegion which this metric comes from.Default: - Deployment region.
- Specified by:
getRegionin interfaceCommonMetricOptions
-
getStatistic
Description copied from interface:CommonMetricOptionsWhat function to use for aggregating.Can be one of the following:
- "Minimum" | "min"
- "Maximum" | "max"
- "Average" | "avg"
- "Sum" | "sum"
- "SampleCount | "n"
- "pNN.NN"
Default: Average
- Specified by:
getStatisticin interfaceCommonMetricOptions
-
getUnit
Description copied from interface:CommonMetricOptionsUnit 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.
The default is to use all matric datums in the stream, regardless of unit, which is recommended in nearly all cases.
CloudWatch does not honor this property for graphs.
Default: - All metric datums in the given metric stream
- Specified by:
getUnitin interfaceCommonMetricOptions
-
$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()
-