public static final class CfnScalingPolicy.CustomizedMetricSpecificationProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnScalingPolicy.CustomizedMetricSpecificationProperty
CfnScalingPolicy.CustomizedMetricSpecificationProperty
CfnScalingPolicy.CustomizedMetricSpecificationProperty.Builder, CfnScalingPolicy.CustomizedMetricSpecificationProperty.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.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.Object |
getDimensions()
The dimensions of the metric.
|
java.lang.String |
getMetricName()
The name of the metric.
|
java.lang.String |
getNamespace()
The namespace of the metric.
|
java.lang.String |
getStatistic()
The statistic of the metric.
|
java.lang.String |
getUnit()
The unit of the metric.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.String getMetricName()
CfnScalingPolicy.CustomizedMetricSpecificationProperty
To get the exact metric name, namespace, and dimensions, inspect the Metric object that is returned by a call to ListMetrics .
getMetricName
in interface CfnScalingPolicy.CustomizedMetricSpecificationProperty
public final java.lang.String getNamespace()
CfnScalingPolicy.CustomizedMetricSpecificationProperty
getNamespace
in interface CfnScalingPolicy.CustomizedMetricSpecificationProperty
public final java.lang.String getStatistic()
CfnScalingPolicy.CustomizedMetricSpecificationProperty
getStatistic
in interface CfnScalingPolicy.CustomizedMetricSpecificationProperty
public final java.lang.Object getDimensions()
CfnScalingPolicy.CustomizedMetricSpecificationProperty
Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.
getDimensions
in interface CfnScalingPolicy.CustomizedMetricSpecificationProperty
public final java.lang.String getUnit()
CfnScalingPolicy.CustomizedMetricSpecificationProperty
For 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
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()