Class PolicyPredictiveScalingConfigurationArgs.Builder

    • Method Detail

      • maxCapacityBreachBehavior

        public PolicyPredictiveScalingConfigurationArgs.Builder maxCapacityBreachBehavior​(@Nullable
                                                                                          com.pulumi.core.Output<java.lang.String> maxCapacityBreachBehavior)
        Parameters:
        maxCapacityBreachBehavior - Defines the behavior that should be applied if the forecast capacity approaches or exceeds the maximum capacity of the Auto Scaling group. Valid values are `HonorMaxCapacity` or `IncreaseMaxCapacity`. Default is `HonorMaxCapacity`.
        Returns:
        builder
      • maxCapacityBreachBehavior

        public PolicyPredictiveScalingConfigurationArgs.Builder maxCapacityBreachBehavior​(java.lang.String maxCapacityBreachBehavior)
        Parameters:
        maxCapacityBreachBehavior - Defines the behavior that should be applied if the forecast capacity approaches or exceeds the maximum capacity of the Auto Scaling group. Valid values are `HonorMaxCapacity` or `IncreaseMaxCapacity`. Default is `HonorMaxCapacity`.
        Returns:
        builder
      • maxCapacityBuffer

        public PolicyPredictiveScalingConfigurationArgs.Builder maxCapacityBuffer​(@Nullable
                                                                                  com.pulumi.core.Output<java.lang.String> maxCapacityBuffer)
        Parameters:
        maxCapacityBuffer - Size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. Valid range is `0` to `100`. If set to `0`, Amazon EC2 Auto Scaling may scale capacity higher than the maximum capacity to equal but not exceed forecast capacity.
        Returns:
        builder
      • maxCapacityBuffer

        public PolicyPredictiveScalingConfigurationArgs.Builder maxCapacityBuffer​(java.lang.String maxCapacityBuffer)
        Parameters:
        maxCapacityBuffer - Size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. Valid range is `0` to `100`. If set to `0`, Amazon EC2 Auto Scaling may scale capacity higher than the maximum capacity to equal but not exceed forecast capacity.
        Returns:
        builder
      • mode

        public PolicyPredictiveScalingConfigurationArgs.Builder mode​(@Nullable
                                                                     com.pulumi.core.Output<java.lang.String> mode)
        Parameters:
        mode - Predictive scaling mode. Valid values are `ForecastAndScale` and `ForecastOnly`. Default is `ForecastOnly`.
        Returns:
        builder
      • mode

        public PolicyPredictiveScalingConfigurationArgs.Builder mode​(java.lang.String mode)
        Parameters:
        mode - Predictive scaling mode. Valid values are `ForecastAndScale` and `ForecastOnly`. Default is `ForecastOnly`.
        Returns:
        builder
      • schedulingBufferTime

        public PolicyPredictiveScalingConfigurationArgs.Builder schedulingBufferTime​(@Nullable
                                                                                     com.pulumi.core.Output<java.lang.String> schedulingBufferTime)
        Parameters:
        schedulingBufferTime - Amount of time, in seconds, by which the instance launch time can be advanced. Minimum is `0`.
        Returns:
        builder
      • schedulingBufferTime

        public PolicyPredictiveScalingConfigurationArgs.Builder schedulingBufferTime​(java.lang.String schedulingBufferTime)
        Parameters:
        schedulingBufferTime - Amount of time, in seconds, by which the instance launch time can be advanced. Minimum is `0`.
        Returns:
        builder