Interface ScalingConstraints.Builder

    • 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.