Class CfnScalingPolicy.CustomizedMetricSpecificationProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.autoscaling.CfnScalingPolicy.CustomizedMetricSpecificationProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnScalingPolicy.CustomizedMetricSpecificationProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnScalingPolicy.CustomizedMetricSpecificationProperty
@Stability(Stable)
@Internal
public static final class CfnScalingPolicy.CustomizedMetricSpecificationProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnScalingPolicy.CustomizedMetricSpecificationProperty
An implementation for
CfnScalingPolicy.CustomizedMetricSpecificationProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.autoscaling.CfnScalingPolicy.CustomizedMetricSpecificationProperty
CfnScalingPolicy.CustomizedMetricSpecificationProperty.Builder, CfnScalingPolicy.CustomizedMetricSpecificationProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnScalingPolicy.CustomizedMetricSpecificationProperty.Builder
.protected
Jsii$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.JsonNode
final boolean
final Object
The dimensions of the metric.final String
The name of the metric.final String
The namespace of the metric.final String
The statistic of the metric.final String
getUnit()
The unit of the metric.final int
hashCode()
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 theCfnScalingPolicy.CustomizedMetricSpecificationProperty.Builder
.
-
-
Method Details
-
getMetricName
Description copied from interface:CfnScalingPolicy.CustomizedMetricSpecificationProperty
The name of the metric.To get the exact metric name, namespace, and dimensions, inspect the Metric object that is returned by a call to ListMetrics .
- Specified by:
getMetricName
in interfaceCfnScalingPolicy.CustomizedMetricSpecificationProperty
-
getNamespace
Description copied from interface:CfnScalingPolicy.CustomizedMetricSpecificationProperty
The namespace of the metric.- Specified by:
getNamespace
in interfaceCfnScalingPolicy.CustomizedMetricSpecificationProperty
-
getStatistic
Description copied from interface:CfnScalingPolicy.CustomizedMetricSpecificationProperty
The statistic of the metric.- Specified by:
getStatistic
in interfaceCfnScalingPolicy.CustomizedMetricSpecificationProperty
-
getDimensions
Description copied from interface:CfnScalingPolicy.CustomizedMetricSpecificationProperty
The dimensions of the metric.Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.
- Specified by:
getDimensions
in interfaceCfnScalingPolicy.CustomizedMetricSpecificationProperty
-
getUnit
Description copied from interface:CfnScalingPolicy.CustomizedMetricSpecificationProperty
The unit of the metric.For a complete list of the units that CloudWatch supports, see the MetricDatum data type in the Amazon CloudWatch API Reference .
- Specified by:
getUnit
in interfaceCfnScalingPolicy.CustomizedMetricSpecificationProperty
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-