@Stability(value=Stable) @Internal public static final class TrackCustomMetricProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements TrackCustomMetricProps
TrackCustomMetricPropssoftware.amazon.jsii.JsiiObject.InitializationModeTrackCustomMetricProps.Builder, TrackCustomMetricProps.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.
|
protected |
Jsii$Proxy(TrackCustomMetricProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
TrackCustomMetricProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Boolean |
getDisableScaleIn() |
IMetric |
getMetric()
The custom CloudWatch metric to track.
|
String |
getPolicyName() |
Duration |
getScaleInCooldown() |
Duration |
getScaleOutCooldown() |
Number |
getTargetValue()
The target value for the custom CloudWatch 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(TrackCustomMetricProps.Builder builder)
TrackCustomMetricProps.Builder.public final IMetric getMetric()
TrackCustomMetricPropsThe metric must represent utilization; that is, you will always get the following behavior:
getMetric in interface TrackCustomMetricPropspublic final Number getTargetValue()
TrackCustomMetricPropsgetTargetValue in interface TrackCustomMetricPropspublic final Boolean getDisableScaleIn()
getDisableScaleIn in interface BaseTargetTrackingPropspublic final String getPolicyName()
getPolicyName in interface BaseTargetTrackingPropspublic final Duration getScaleInCooldown()
getScaleInCooldown in interface BaseTargetTrackingPropspublic final Duration getScaleOutCooldown()
getScaleOutCooldown in interface BaseTargetTrackingProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.