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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ScalingConstraints.BuildermaxCapacity(Integer maxCapacity)The upper boundary of Amazon EC2 instances in an instance group beyond which scaling activities are not allowed to grow.ScalingConstraints.BuilderminCapacity(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
minCapacity
ScalingConstraints.Builder minCapacity(Integer 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
ScalingConstraints.Builder maxCapacity(Integer 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.
-
-