public static interface DynamicScalingConfiguration.Builder extends SdkPojo, CopyableBuilder<DynamicScalingConfiguration.Builder,DynamicScalingConfiguration>
| Modifier and Type | Method and Description |
|---|---|
DynamicScalingConfiguration.Builder |
maxCapacity(Integer maxCapacity)
The recommended maximum capacity to specify for your autoscaling policy.
|
DynamicScalingConfiguration.Builder |
minCapacity(Integer minCapacity)
The recommended minimum capacity to specify for your autoscaling policy.
|
DynamicScalingConfiguration.Builder |
scaleInCooldown(Integer scaleInCooldown)
The recommended scale in cooldown time for your autoscaling policy.
|
DynamicScalingConfiguration.Builder |
scaleOutCooldown(Integer scaleOutCooldown)
The recommended scale out cooldown time for your autoscaling policy.
|
DynamicScalingConfiguration.Builder |
scalingPolicies(Collection<ScalingPolicy> scalingPolicies)
An object of the scaling policies for each metric.
|
DynamicScalingConfiguration.Builder |
scalingPolicies(Consumer<ScalingPolicy.Builder>... scalingPolicies)
An object of the scaling policies for each metric.
|
DynamicScalingConfiguration.Builder |
scalingPolicies(ScalingPolicy... scalingPolicies)
An object of the scaling policies for each metric.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDynamicScalingConfiguration.Builder minCapacity(Integer minCapacity)
The recommended minimum capacity to specify for your autoscaling policy.
minCapacity - The recommended minimum capacity to specify for your autoscaling policy.DynamicScalingConfiguration.Builder maxCapacity(Integer maxCapacity)
The recommended maximum capacity to specify for your autoscaling policy.
maxCapacity - The recommended maximum capacity to specify for your autoscaling policy.DynamicScalingConfiguration.Builder scaleInCooldown(Integer scaleInCooldown)
The recommended scale in cooldown time for your autoscaling policy.
scaleInCooldown - The recommended scale in cooldown time for your autoscaling policy.DynamicScalingConfiguration.Builder scaleOutCooldown(Integer scaleOutCooldown)
The recommended scale out cooldown time for your autoscaling policy.
scaleOutCooldown - The recommended scale out cooldown time for your autoscaling policy.DynamicScalingConfiguration.Builder scalingPolicies(Collection<ScalingPolicy> scalingPolicies)
An object of the scaling policies for each metric.
scalingPolicies - An object of the scaling policies for each metric.DynamicScalingConfiguration.Builder scalingPolicies(ScalingPolicy... scalingPolicies)
An object of the scaling policies for each metric.
scalingPolicies - An object of the scaling policies for each metric.DynamicScalingConfiguration.Builder scalingPolicies(Consumer<ScalingPolicy.Builder>... scalingPolicies)
An object of the scaling policies for each metric.
This is a convenience method that creates an instance of theScalingPolicy.Builder avoiding the need to create one
manually via ScalingPolicy.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #scalingPolicies(List.
scalingPolicies - a consumer that will call methods on
ScalingPolicy.Builder#scalingPolicies(java.util.Collection) Copyright © 2023. All rights reserved.