Interface DynamicScalingConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DynamicScalingConfiguration.Builder,
,DynamicScalingConfiguration> SdkBuilder<DynamicScalingConfiguration.Builder,
,DynamicScalingConfiguration> SdkPojo
- Enclosing class:
DynamicScalingConfiguration
public static interface DynamicScalingConfiguration.Builder
extends SdkPojo, CopyableBuilder<DynamicScalingConfiguration.Builder,DynamicScalingConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionmaxCapacity
(Integer maxCapacity) The recommended maximum capacity to specify for your autoscaling policy.minCapacity
(Integer minCapacity) The recommended minimum capacity to specify for your autoscaling policy.scaleInCooldown
(Integer scaleInCooldown) The recommended scale in cooldown time for your autoscaling policy.scaleOutCooldown
(Integer scaleOutCooldown) The recommended scale out cooldown time for your autoscaling policy.scalingPolicies
(Collection<ScalingPolicy> scalingPolicies) An object of the scaling policies for each metric.scalingPolicies
(Consumer<ScalingPolicy.Builder>... scalingPolicies) An object of the scaling policies for each metric.scalingPolicies
(ScalingPolicy... scalingPolicies) An object of the scaling policies for each metric.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
minCapacity
The recommended minimum capacity to specify for your autoscaling policy.
- Parameters:
minCapacity
- The recommended minimum capacity to specify for your autoscaling policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxCapacity
The recommended maximum capacity to specify for your autoscaling policy.
- Parameters:
maxCapacity
- The recommended maximum capacity to specify for your autoscaling policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scaleInCooldown
The recommended scale in cooldown time for your autoscaling policy.
- Parameters:
scaleInCooldown
- The recommended scale in cooldown time for your autoscaling policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scaleOutCooldown
The recommended scale out cooldown time for your autoscaling policy.
- Parameters:
scaleOutCooldown
- The recommended scale out cooldown time for your autoscaling policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalingPolicies
An object of the scaling policies for each metric.
- Parameters:
scalingPolicies
- An object of the scaling policies for each metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalingPolicies
An object of the scaling policies for each metric.
- Parameters:
scalingPolicies
- An object of the scaling policies for each metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scalingPolicies
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 viaScalingPolicy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toscalingPolicies(List<ScalingPolicy>)
.- Parameters:
scalingPolicies
- a consumer that will call methods onScalingPolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-