public static interface PredictiveScalingMetricSpecification.Builder extends SdkPojo, CopyableBuilder<PredictiveScalingMetricSpecification.Builder,PredictiveScalingMetricSpecification>
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPredictiveScalingMetricSpecification.Builder targetValue(Double targetValue)
Specifies the target utilization.
Some metrics are based on a count instead of a percentage, such as the request count for an Application Load Balancer or the number of messages in an SQS queue. If the scaling policy specifies one of these metrics, specify the target utilization as the optimal average request or message count per instance during any one-minute interval.
targetValue - Specifies the target utilization. Some metrics are based on a count instead of a percentage, such as the request count for an Application Load Balancer or the number of messages in an SQS queue. If the scaling policy specifies one of these metrics, specify the target utilization as the optimal average request or message count per instance during any one-minute interval.
PredictiveScalingMetricSpecification.Builder predefinedMetricPairSpecification(PredictiveScalingPredefinedMetricPair predefinedMetricPairSpecification)
The predefined metric pair specification from which Amazon EC2 Auto Scaling determines the appropriate scaling metric and load metric to use.
predefinedMetricPairSpecification - The predefined metric pair specification from which Amazon EC2 Auto Scaling determines the appropriate
scaling metric and load metric to use.default PredictiveScalingMetricSpecification.Builder predefinedMetricPairSpecification(Consumer<PredictiveScalingPredefinedMetricPair.Builder> predefinedMetricPairSpecification)
The predefined metric pair specification from which Amazon EC2 Auto Scaling determines the appropriate scaling metric and load metric to use.
This is a convenience method that creates an instance of thePredictiveScalingPredefinedMetricPair.Builder avoiding the need to create one manually via
PredictiveScalingPredefinedMetricPair.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to
predefinedMetricPairSpecification(PredictiveScalingPredefinedMetricPair).
predefinedMetricPairSpecification - a consumer that will call methods on PredictiveScalingPredefinedMetricPair.BuilderpredefinedMetricPairSpecification(PredictiveScalingPredefinedMetricPair)PredictiveScalingMetricSpecification.Builder predefinedScalingMetricSpecification(PredictiveScalingPredefinedScalingMetric predefinedScalingMetricSpecification)
The predefined scaling metric specification.
predefinedScalingMetricSpecification - The predefined scaling metric specification.default PredictiveScalingMetricSpecification.Builder predefinedScalingMetricSpecification(Consumer<PredictiveScalingPredefinedScalingMetric.Builder> predefinedScalingMetricSpecification)
The predefined scaling metric specification.
This is a convenience method that creates an instance of thePredictiveScalingPredefinedScalingMetric.Builder avoiding the need to create one manually via
PredictiveScalingPredefinedScalingMetric.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to
predefinedScalingMetricSpecification(PredictiveScalingPredefinedScalingMetric).
predefinedScalingMetricSpecification - a consumer that will call methods on PredictiveScalingPredefinedScalingMetric.BuilderpredefinedScalingMetricSpecification(PredictiveScalingPredefinedScalingMetric)PredictiveScalingMetricSpecification.Builder predefinedLoadMetricSpecification(PredictiveScalingPredefinedLoadMetric predefinedLoadMetricSpecification)
The predefined load metric specification.
predefinedLoadMetricSpecification - The predefined load metric specification.default PredictiveScalingMetricSpecification.Builder predefinedLoadMetricSpecification(Consumer<PredictiveScalingPredefinedLoadMetric.Builder> predefinedLoadMetricSpecification)
The predefined load metric specification.
This is a convenience method that creates an instance of thePredictiveScalingPredefinedLoadMetric.Builder avoiding the need to create one manually via
PredictiveScalingPredefinedLoadMetric.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to
predefinedLoadMetricSpecification(PredictiveScalingPredefinedLoadMetric).
predefinedLoadMetricSpecification - a consumer that will call methods on PredictiveScalingPredefinedLoadMetric.BuilderpredefinedLoadMetricSpecification(PredictiveScalingPredefinedLoadMetric)PredictiveScalingMetricSpecification.Builder customizedScalingMetricSpecification(PredictiveScalingCustomizedScalingMetric customizedScalingMetricSpecification)
The customized scaling metric specification.
customizedScalingMetricSpecification - The customized scaling metric specification.default PredictiveScalingMetricSpecification.Builder customizedScalingMetricSpecification(Consumer<PredictiveScalingCustomizedScalingMetric.Builder> customizedScalingMetricSpecification)
The customized scaling metric specification.
This is a convenience method that creates an instance of thePredictiveScalingCustomizedScalingMetric.Builder avoiding the need to create one manually via
PredictiveScalingCustomizedScalingMetric.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to
customizedScalingMetricSpecification(PredictiveScalingCustomizedScalingMetric).
customizedScalingMetricSpecification - a consumer that will call methods on PredictiveScalingCustomizedScalingMetric.BuildercustomizedScalingMetricSpecification(PredictiveScalingCustomizedScalingMetric)PredictiveScalingMetricSpecification.Builder customizedLoadMetricSpecification(PredictiveScalingCustomizedLoadMetric customizedLoadMetricSpecification)
The customized load metric specification.
customizedLoadMetricSpecification - The customized load metric specification.default PredictiveScalingMetricSpecification.Builder customizedLoadMetricSpecification(Consumer<PredictiveScalingCustomizedLoadMetric.Builder> customizedLoadMetricSpecification)
The customized load metric specification.
This is a convenience method that creates an instance of thePredictiveScalingCustomizedLoadMetric.Builder avoiding the need to create one manually via
PredictiveScalingCustomizedLoadMetric.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to
customizedLoadMetricSpecification(PredictiveScalingCustomizedLoadMetric).
customizedLoadMetricSpecification - a consumer that will call methods on PredictiveScalingCustomizedLoadMetric.BuildercustomizedLoadMetricSpecification(PredictiveScalingCustomizedLoadMetric)PredictiveScalingMetricSpecification.Builder customizedCapacityMetricSpecification(PredictiveScalingCustomizedCapacityMetric customizedCapacityMetricSpecification)
The customized capacity metric specification.
customizedCapacityMetricSpecification - The customized capacity metric specification.default PredictiveScalingMetricSpecification.Builder customizedCapacityMetricSpecification(Consumer<PredictiveScalingCustomizedCapacityMetric.Builder> customizedCapacityMetricSpecification)
The customized capacity metric specification.
This is a convenience method that creates an instance of thePredictiveScalingCustomizedCapacityMetric.Builder avoiding the need to create one manually via
PredictiveScalingCustomizedCapacityMetric.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to
customizedCapacityMetricSpecification(PredictiveScalingCustomizedCapacityMetric).
customizedCapacityMetricSpecification - a consumer that will call methods on PredictiveScalingCustomizedCapacityMetric.BuildercustomizedCapacityMetricSpecification(PredictiveScalingCustomizedCapacityMetric)Copyright © 2023. All rights reserved.