@Stability(value=Stable) @Internal public static final class CfnScalingPolicy.CustomizedMetricSpecificationProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnScalingPolicy.CustomizedMetricSpecificationProperty
CfnScalingPolicy.CustomizedMetricSpecificationPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnScalingPolicy.CustomizedMetricSpecificationProperty.Builder, CfnScalingPolicy.CustomizedMetricSpecificationProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnScalingPolicy.CustomizedMetricSpecificationProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnScalingPolicy.CustomizedMetricSpecificationProperty.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) |
Object |
getDimensions()
The dimensions of the metric.
|
String |
getMetricName()
The name of the metric.
|
String |
getNamespace()
The namespace of the metric.
|
String |
getStatistic()
The statistic of the metric.
|
String |
getUnit()
The unit of the metric.
|
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(CfnScalingPolicy.CustomizedMetricSpecificationProperty.Builder builder)
CfnScalingPolicy.CustomizedMetricSpecificationProperty.Builder.public final String getMetricName()
CfnScalingPolicy.CustomizedMetricSpecificationPropertyTo get the exact metric name, namespace, and dimensions, inspect the Metric object that is returned by a call to ListMetrics .
getMetricName in interface CfnScalingPolicy.CustomizedMetricSpecificationPropertypublic final String getNamespace()
CfnScalingPolicy.CustomizedMetricSpecificationPropertygetNamespace in interface CfnScalingPolicy.CustomizedMetricSpecificationPropertypublic final String getStatistic()
CfnScalingPolicy.CustomizedMetricSpecificationPropertygetStatistic in interface CfnScalingPolicy.CustomizedMetricSpecificationPropertypublic final Object getDimensions()
CfnScalingPolicy.CustomizedMetricSpecificationPropertyConditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.
getDimensions in interface CfnScalingPolicy.CustomizedMetricSpecificationPropertypublic final String getUnit()
CfnScalingPolicy.CustomizedMetricSpecificationPropertyFor a complete list of the units that CloudWatch supports, see the MetricDatum data type in the Amazon CloudWatch API Reference .
getUnit in interface CfnScalingPolicy.CustomizedMetricSpecificationProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.