Interface AutoScalingPolicy.Builder

    • Method Detail

      • constraints

        AutoScalingPolicy.Builder constraints​(ScalingConstraints constraints)

        The upper and lower Amazon EC2 instance limits for an automatic scaling policy. Automatic scaling activity will not cause an instance group to grow above or below these limits.

        Parameters:
        constraints - The upper and lower Amazon EC2 instance limits for an automatic scaling policy. Automatic scaling activity will not cause an instance group to grow above or below these limits.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rules

        AutoScalingPolicy.Builder rules​(Collection<ScalingRule> rules)

        The scale-in and scale-out rules that comprise the automatic scaling policy.

        Parameters:
        rules - The scale-in and scale-out rules that comprise the automatic scaling policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rules

        AutoScalingPolicy.Builder rules​(ScalingRule... rules)

        The scale-in and scale-out rules that comprise the automatic scaling policy.

        Parameters:
        rules - The scale-in and scale-out rules that comprise the automatic scaling policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.