Class PolicyPredictiveScalingPolicyConfigurationArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.appautoscaling.inputs.PolicyPredictiveScalingPolicyConfigurationArgs.Builder
-
- Enclosing class:
- PolicyPredictiveScalingPolicyConfigurationArgs
public static final class PolicyPredictiveScalingPolicyConfigurationArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(PolicyPredictiveScalingPolicyConfigurationArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(PolicyPredictiveScalingPolicyConfigurationArgs defaults)
-
-
Method Detail
-
maxCapacityBreachBehavior
public PolicyPredictiveScalingPolicyConfigurationArgs.Builder maxCapacityBreachBehavior(@Nullable com.pulumi.core.Output<java.lang.String> maxCapacityBreachBehavior)
- Parameters:
maxCapacityBreachBehavior- Behavior applied if the forecast capacity approaches or exceeds the maximum capacity. Valid values are `HonorMaxCapacity` and `IncreaseMaxCapacity`.- Returns:
- builder
-
maxCapacityBreachBehavior
public PolicyPredictiveScalingPolicyConfigurationArgs.Builder maxCapacityBreachBehavior(java.lang.String maxCapacityBreachBehavior)
- Parameters:
maxCapacityBreachBehavior- Behavior applied if the forecast capacity approaches or exceeds the maximum capacity. Valid values are `HonorMaxCapacity` and `IncreaseMaxCapacity`.- Returns:
- builder
-
maxCapacityBuffer
public PolicyPredictiveScalingPolicyConfigurationArgs.Builder maxCapacityBuffer(@Nullable com.pulumi.core.Output<java.lang.Integer> maxCapacityBuffer)
- Parameters:
maxCapacityBuffer- Size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. The value is specified as a percentage relative to the forecast capacity. Required if the `maxCapacityBreachBehavior` argument is set to `IncreaseMaxCapacity`, and cannot be used otherwise.- Returns:
- builder
-
maxCapacityBuffer
public PolicyPredictiveScalingPolicyConfigurationArgs.Builder maxCapacityBuffer(java.lang.Integer maxCapacityBuffer)
- Parameters:
maxCapacityBuffer- Size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. The value is specified as a percentage relative to the forecast capacity. Required if the `maxCapacityBreachBehavior` argument is set to `IncreaseMaxCapacity`, and cannot be used otherwise.- Returns:
- builder
-
metricSpecifications
public PolicyPredictiveScalingPolicyConfigurationArgs.Builder metricSpecifications(com.pulumi.core.Output<java.util.List<PolicyPredictiveScalingPolicyConfigurationMetricSpecificationArgs>> metricSpecifications)
- Parameters:
metricSpecifications- Metrics and target utilization to use for predictive scaling. See `predictive_scaling_policy_configuration.metric_specification` Block for details.- Returns:
- builder
-
metricSpecifications
public PolicyPredictiveScalingPolicyConfigurationArgs.Builder metricSpecifications(java.util.List<PolicyPredictiveScalingPolicyConfigurationMetricSpecificationArgs> metricSpecifications)
- Parameters:
metricSpecifications- Metrics and target utilization to use for predictive scaling. See `predictive_scaling_policy_configuration.metric_specification` Block for details.- Returns:
- builder
-
metricSpecifications
public PolicyPredictiveScalingPolicyConfigurationArgs.Builder metricSpecifications(PolicyPredictiveScalingPolicyConfigurationMetricSpecificationArgs... metricSpecifications)
- Parameters:
metricSpecifications- Metrics and target utilization to use for predictive scaling. See `predictive_scaling_policy_configuration.metric_specification` Block for details.- Returns:
- builder
-
mode
public PolicyPredictiveScalingPolicyConfigurationArgs.Builder mode(@Nullable com.pulumi.core.Output<java.lang.String> mode)
- Parameters:
mode- Predictive scaling mode. Valid values are `ForecastOnly` and `ForecastAndScale`.- Returns:
- builder
-
mode
public PolicyPredictiveScalingPolicyConfigurationArgs.Builder mode(java.lang.String mode)
- Parameters:
mode- Predictive scaling mode. Valid values are `ForecastOnly` and `ForecastAndScale`.- Returns:
- builder
-
schedulingBufferTime
public PolicyPredictiveScalingPolicyConfigurationArgs.Builder schedulingBufferTime(@Nullable com.pulumi.core.Output<java.lang.Integer> schedulingBufferTime)
- Parameters:
schedulingBufferTime- Amount of time, in seconds, that the start time can be advanced.- Returns:
- builder
-
schedulingBufferTime
public PolicyPredictiveScalingPolicyConfigurationArgs.Builder schedulingBufferTime(java.lang.Integer schedulingBufferTime)
- Parameters:
schedulingBufferTime- Amount of time, in seconds, that the start time can be advanced.- Returns:
- builder
-
build
public PolicyPredictiveScalingPolicyConfigurationArgs build()
-
-