Class AutoScalingPolicy.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • coolDownInSeconds

        public AutoScalingPolicy.Builder coolDownInSeconds​(Integer coolDownInSeconds)
        For threshold-based autoscaling policies, this value is the minimum period of time to wait between scaling actions.

        The cooldown period gives the system time to stabilize before rescaling. The minimum value is 600 seconds, which is also the default. The cooldown period starts when the model deployment becomes ACTIVE after the scaling operation.

        Parameters:
        coolDownInSeconds - the value to set
        Returns:
        this builder
      • isEnabled

        public AutoScalingPolicy.Builder isEnabled​(Boolean isEnabled)
        Whether the autoscaling policy is enabled.
        Parameters:
        isEnabled - the value to set
        Returns:
        this builder