@Stability(value=Stable)
public static interface CfnScalingPolicy.PredictiveScalingMetricSpecificationProperty
extends software.amazon.jsii.JsiiSerializable
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.autoscaling.*;
PredictiveScalingMetricSpecificationProperty predictiveScalingMetricSpecificationProperty = PredictiveScalingMetricSpecificationProperty.builder()
.targetValue(123)
// the properties below are optional
.predefinedLoadMetricSpecification(PredictiveScalingPredefinedLoadMetricProperty.builder()
.predefinedMetricType("predefinedMetricType")
// the properties below are optional
.resourceLabel("resourceLabel")
.build())
.predefinedMetricPairSpecification(PredictiveScalingPredefinedMetricPairProperty.builder()
.predefinedMetricType("predefinedMetricType")
// the properties below are optional
.resourceLabel("resourceLabel")
.build())
.predefinedScalingMetricSpecification(PredictiveScalingPredefinedScalingMetricProperty.builder()
.predefinedMetricType("predefinedMetricType")
// the properties below are optional
.resourceLabel("resourceLabel")
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnScalingPolicy.PredictiveScalingMetricSpecificationProperty.Builder
|
static class |
CfnScalingPolicy.PredictiveScalingMetricSpecificationProperty.Jsii$Proxy
An implementation for
CfnScalingPolicy.PredictiveScalingMetricSpecificationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnScalingPolicy.PredictiveScalingMetricSpecificationProperty.Builder |
builder() |
default Object |
getPredefinedLoadMetricSpecification()
`CfnScalingPolicy.PredictiveScalingMetricSpecificationProperty.PredefinedLoadMetricSpecification`.
|
default Object |
getPredefinedMetricPairSpecification()
`CfnScalingPolicy.PredictiveScalingMetricSpecificationProperty.PredefinedMetricPairSpecification`.
|
default Object |
getPredefinedScalingMetricSpecification()
`CfnScalingPolicy.PredictiveScalingMetricSpecificationProperty.PredefinedScalingMetricSpecification`.
|
Number |
getTargetValue()
`CfnScalingPolicy.PredictiveScalingMetricSpecificationProperty.TargetValue`.
|
@Stability(value=Stable) @Nullable default Object getPredefinedLoadMetricSpecification()
@Stability(value=Stable) @Nullable default Object getPredefinedMetricPairSpecification()
@Stability(value=Stable) @Nullable default Object getPredefinedScalingMetricSpecification()
@Stability(value=Stable) @NotNull Number getTargetValue()
@Stability(value=Stable) static CfnScalingPolicy.PredictiveScalingMetricSpecificationProperty.Builder builder()
Copyright © 2021. All rights reserved.