Interface CfnScalingPolicy.PredictiveScalingMetricDataQueryProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnScalingPolicy.PredictiveScalingMetricDataQueryProperty.Jsii$Proxy
- Enclosing class:
CfnScalingPolicy
@Stability(Stable)
public static interface CfnScalingPolicy.PredictiveScalingMetricDataQueryProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.applicationautoscaling.*;
PredictiveScalingMetricDataQueryProperty predictiveScalingMetricDataQueryProperty = PredictiveScalingMetricDataQueryProperty.builder()
.expression("expression")
.id("id")
.label("label")
.metricStat(PredictiveScalingMetricStatProperty.builder()
.metric(PredictiveScalingMetricProperty.builder()
.dimensions(List.of(PredictiveScalingMetricDimensionProperty.builder()
.name("name")
.value("value")
.build()))
.metricName("metricName")
.namespace("namespace")
.build())
.stat("stat")
.unit("unit")
.build())
.returnData(false)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnScalingPolicy.PredictiveScalingMetricDataQueryProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe math expression to perform on the returned data, if this object is performing a math expression.default StringgetId()A short name that identifies the object's results in the response.default StringgetLabel()A human-readable label for this metric or expression.default Objectdefault ObjectIndicates whether to return the timestamps and raw data values of this metric.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getExpression
The math expression to perform on the returned data, if this object is performing a math expression.- See Also:
-
getId
A short name that identifies the object's results in the response.- See Also:
-
getLabel
A human-readable label for this metric or expression.This is especially useful if this is a math expression, so that you know what the value represents.
- See Also:
-
getMetricStat
- See Also:
-
getReturnData
Indicates whether to return the timestamps and raw data values of this metric.- See Also:
-
builder
@Stability(Stable) static CfnScalingPolicy.PredictiveScalingMetricDataQueryProperty.Builder builder()
-