Interface DynamicScalingConfiguration.Builder

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