Class CfnScalingPolicy.MetricStatProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.autoscaling.CfnScalingPolicy.MetricStatProperty.Jsii$Proxy
- All Implemented Interfaces:
- CfnScalingPolicy.MetricStatProperty,- software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnScalingPolicy.MetricStatProperty
@Stability(Stable)
@Internal
public static final class CfnScalingPolicy.MetricStatProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnScalingPolicy.MetricStatProperty
An implementation for 
CfnScalingPolicy.MetricStatProperty- 
Nested Class SummaryNested classes/interfaces inherited from class software.amazon.jsii.JsiiObjectsoftware.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.autoscaling.CfnScalingPolicy.MetricStatPropertyCfnScalingPolicy.MetricStatProperty.Builder, CfnScalingPolicy.MetricStatProperty.Jsii$Proxy
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnScalingPolicy.MetricStatProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.
- 
Method SummaryModifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal ObjectThe CloudWatch metric to return, including the metric name, namespace, and dimensions.final StringgetStat()The statistic to return.final StringgetUnit()The unit to use for the returned data points.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObjectjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
- 
Constructor Details- 
Jsii$Proxyprotected 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$ProxyConstructor that initializes the object based on literal property values passed by theCfnScalingPolicy.MetricStatProperty.Builder.
 
- 
- 
Method Details- 
getMetricDescription copied from interface:CfnScalingPolicy.MetricStatPropertyThe CloudWatch metric to return, including the metric name, namespace, and dimensions.To get the exact metric name, namespace, and dimensions, inspect the Metric object that is returned by a call to ListMetrics . Returns union: either IResolvableorCfnScalingPolicy.MetricProperty- Specified by:
- getMetricin interface- CfnScalingPolicy.MetricStatProperty
- See Also:
 
- 
getStatDescription copied from interface:CfnScalingPolicy.MetricStatPropertyThe statistic to return.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 AverageandSum.- Specified by:
- getStatin interface- CfnScalingPolicy.MetricStatProperty
- See Also:
 
- 
getUnitDescription copied from interface:CfnScalingPolicy.MetricStatPropertyThe unit to use for the returned data points.For a complete list of the units that CloudWatch supports, see the MetricDatum data type in the Amazon CloudWatch API Reference . - Specified by:
- getUnitin interface- CfnScalingPolicy.MetricStatProperty
- See Also:
 
- 
$jsii$toJson@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
- $jsii$toJsonin interface- software.amazon.jsii.JsiiSerializable
 
- 
equals
- 
hashCodepublic final int hashCode()
 
-