public static final class CfnScalingPolicy.MetricStatProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnScalingPolicy.MetricStatProperty
CfnScalingPolicy.MetricStatProperty
CfnScalingPolicy.MetricStatProperty.Builder, CfnScalingPolicy.MetricStatProperty.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 |
getMetric()
The CloudWatch metric to return, including the metric name, namespace, and dimensions.
|
java.lang.String |
getStat()
The statistic to return.
|
java.lang.String |
getUnit()
The unit to use for the returned data points.
|
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.Object getMetric()
CfnScalingPolicy.MetricStatProperty
To get the exact metric name, namespace, and dimensions, inspect the Metric object that is returned by a call to ListMetrics .
getMetric
in interface CfnScalingPolicy.MetricStatProperty
public final java.lang.String getStat()
CfnScalingPolicy.MetricStatProperty
It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in Statistics in the Amazon CloudWatch User Guide .
The most commonly used metrics for predictive scaling are Average
and Sum
.
getStat
in interface CfnScalingPolicy.MetricStatProperty
public final java.lang.String getUnit()
CfnScalingPolicy.MetricStatProperty
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.MetricStatProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()