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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DynamicScalingConfiguration.BuildermaxCapacity(Integer maxCapacity)The recommended maximum capacity to specify for your autoscaling policy.DynamicScalingConfiguration.BuilderminCapacity(Integer minCapacity)The recommended minimum capacity to specify for your autoscaling policy.DynamicScalingConfiguration.BuilderscaleInCooldown(Integer scaleInCooldown)The recommended scale in cooldown time for your autoscaling policy.DynamicScalingConfiguration.BuilderscaleOutCooldown(Integer scaleOutCooldown)The recommended scale out cooldown time for your autoscaling policy.DynamicScalingConfiguration.BuilderscalingPolicies(Collection<ScalingPolicy> scalingPolicies)An object of the scaling policies for each metric.DynamicScalingConfiguration.BuilderscalingPolicies(Consumer<ScalingPolicy.Builder>... scalingPolicies)An object of the scaling policies for each metric.DynamicScalingConfiguration.BuilderscalingPolicies(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
minCapacity
DynamicScalingConfiguration.Builder minCapacity(Integer 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
DynamicScalingConfiguration.Builder maxCapacity(Integer 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
DynamicScalingConfiguration.Builder scaleInCooldown(Integer 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
DynamicScalingConfiguration.Builder scaleOutCooldown(Integer 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
DynamicScalingConfiguration.Builder scalingPolicies(Collection<ScalingPolicy> 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(ScalingPolicy... 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.Builderavoiding the need to create one manually viaScalingPolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#scalingPolicies(List.) - 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:
#scalingPolicies(java.util.Collection)
-
-