Interface ScalingConstraints.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ScalingConstraints.Builder,
,ScalingConstraints> SdkBuilder<ScalingConstraints.Builder,
,ScalingConstraints> SdkPojo
- Enclosing class:
ScalingConstraints
public static interface ScalingConstraints.Builder
extends SdkPojo, CopyableBuilder<ScalingConstraints.Builder,ScalingConstraints>
-
Method Summary
Modifier and TypeMethodDescriptionmaxCapacity
(Integer maxCapacity) The upper boundary of Amazon EC2 instances in an instance group beyond which scaling activities are not allowed to grow.minCapacity
(Integer minCapacity) The lower boundary of Amazon EC2 instances in an instance group below which scaling activities are not allowed to shrink.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 lower boundary of Amazon EC2 instances in an instance group below which scaling activities are not allowed to shrink. Scale-in activities will not terminate instances below this boundary.
- Parameters:
minCapacity
- The lower boundary of Amazon EC2 instances in an instance group below which scaling activities are not allowed to shrink. Scale-in activities will not terminate instances below this boundary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxCapacity
The upper boundary of Amazon EC2 instances in an instance group beyond which scaling activities are not allowed to grow. Scale-out activities will not add instances beyond this boundary.
- Parameters:
maxCapacity
- The upper boundary of Amazon EC2 instances in an instance group beyond which scaling activities are not allowed to grow. Scale-out activities will not add instances beyond this boundary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-