@Stability(value=Stable) @Internal public static final class CfnScalingPolicy.MetricDataQueryProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnScalingPolicy.MetricDataQueryProperty
CfnScalingPolicy.MetricDataQueryPropertysoftware.amazon.jsii.JsiiObject.InitializationModeCfnScalingPolicy.MetricDataQueryProperty.Builder, CfnScalingPolicy.MetricDataQueryProperty.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnScalingPolicy.MetricDataQueryProperty.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnScalingPolicy.CustomizedMetricSpecificationProperty.Builder. |
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(Object o) |
String |
getExpression()
The math expression to perform on the returned data, if this object is performing a math expression.
|
String |
getId()
A short name that identifies the object's results in the response.
|
String |
getLabel()
A human-readable label for this metric or expression.
|
Object |
getMetricStat()
Information about the metric data to return.
|
Object |
getReturnData()
Indicates whether to return the timestamps and raw data values of this 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(CfnScalingPolicy.MetricDataQueryProperty.Builder builder)
CfnScalingPolicy.CustomizedMetricSpecificationProperty.Builder.public final String getId()
CfnScalingPolicy.MetricDataQueryProperty
This name must be unique among all MetricDataQuery objects specified for a single scaling policy. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscores. The first character must be a lowercase letter.
getId in interface CfnScalingPolicy.MetricDataQueryPropertypublic final String getExpression()
CfnScalingPolicy.MetricDataQueryProperty
This expression can use the Id of the other metrics to refer to those metrics, and can also use the Id of other expressions to use the result of those expressions.
Conditional: Within each MetricDataQuery object, you must specify either Expression or MetricStat , but not both.
getExpression in interface CfnScalingPolicy.MetricDataQueryPropertypublic final String getLabel()
CfnScalingPolicy.MetricDataQueryPropertyThis is especially useful if this is a math expression, so that you know what the value represents.
getLabel in interface CfnScalingPolicy.MetricDataQueryPropertypublic final Object getMetricStat()
CfnScalingPolicy.MetricDataQueryProperty
Conditional: Within each MetricDataQuery object, you must specify either Expression or MetricStat , but not both.
getMetricStat in interface CfnScalingPolicy.MetricDataQueryPropertypublic final Object getReturnData()
CfnScalingPolicy.MetricDataQueryProperty
If you use any math expressions, specify true for this value for only the final math expression that the metric specification is based on. You must specify false for ReturnData for all the other metrics and expressions used in the metric specification.
If you are only retrieving metrics and not performing any math expressions, do not specify anything for ReturnData . This sets it to its default ( true ).
getReturnData in interface CfnScalingPolicy.MetricDataQueryProperty@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.