Class PolicyStepScalingPolicyConfigurationArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.appautoscaling.inputs.PolicyStepScalingPolicyConfigurationArgs.Builder
-
- Enclosing class:
- PolicyStepScalingPolicyConfigurationArgs
public static final class PolicyStepScalingPolicyConfigurationArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(PolicyStepScalingPolicyConfigurationArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(PolicyStepScalingPolicyConfigurationArgs defaults)
-
-
Method Detail
-
adjustmentType
public PolicyStepScalingPolicyConfigurationArgs.Builder adjustmentType(@Nullable com.pulumi.core.Output<java.lang.String> adjustmentType)
- Parameters:
adjustmentType
- Whether the adjustment is an absolute number or a percentage of the current capacity. Valid values are `ChangeInCapacity`, `ExactCapacity`, and `PercentChangeInCapacity`.- Returns:
- builder
-
adjustmentType
public PolicyStepScalingPolicyConfigurationArgs.Builder adjustmentType(java.lang.String adjustmentType)
- Parameters:
adjustmentType
- Whether the adjustment is an absolute number or a percentage of the current capacity. Valid values are `ChangeInCapacity`, `ExactCapacity`, and `PercentChangeInCapacity`.- Returns:
- builder
-
cooldown
public PolicyStepScalingPolicyConfigurationArgs.Builder cooldown(@Nullable com.pulumi.core.Output<java.lang.Integer> cooldown)
- Parameters:
cooldown
- Amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.- Returns:
- builder
-
cooldown
public PolicyStepScalingPolicyConfigurationArgs.Builder cooldown(java.lang.Integer cooldown)
- Parameters:
cooldown
- Amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start.- Returns:
- builder
-
metricAggregationType
public PolicyStepScalingPolicyConfigurationArgs.Builder metricAggregationType(@Nullable com.pulumi.core.Output<java.lang.String> metricAggregationType)
- Parameters:
metricAggregationType
- Aggregation type for the policy's metrics. Valid values are "Minimum", "Maximum", and "Average". Without a value, AWS will treat the aggregation type as "Average".- Returns:
- builder
-
metricAggregationType
public PolicyStepScalingPolicyConfigurationArgs.Builder metricAggregationType(java.lang.String metricAggregationType)
- Parameters:
metricAggregationType
- Aggregation type for the policy's metrics. Valid values are "Minimum", "Maximum", and "Average". Without a value, AWS will treat the aggregation type as "Average".- Returns:
- builder
-
minAdjustmentMagnitude
public PolicyStepScalingPolicyConfigurationArgs.Builder minAdjustmentMagnitude(@Nullable com.pulumi.core.Output<java.lang.Integer> minAdjustmentMagnitude)
- Parameters:
minAdjustmentMagnitude
- Minimum number to adjust your scalable dimension as a result of a scaling activity. If the adjustment type is PercentChangeInCapacity, the scaling policy changes the scalable dimension of the scalable target by this amount.- Returns:
- builder
-
minAdjustmentMagnitude
public PolicyStepScalingPolicyConfigurationArgs.Builder minAdjustmentMagnitude(java.lang.Integer minAdjustmentMagnitude)
- Parameters:
minAdjustmentMagnitude
- Minimum number to adjust your scalable dimension as a result of a scaling activity. If the adjustment type is PercentChangeInCapacity, the scaling policy changes the scalable dimension of the scalable target by this amount.- Returns:
- builder
-
stepAdjustments
public PolicyStepScalingPolicyConfigurationArgs.Builder stepAdjustments(@Nullable com.pulumi.core.Output<java.util.List<PolicyStepScalingPolicyConfigurationStepAdjustmentArgs>> stepAdjustments)
- Parameters:
stepAdjustments
- Set of adjustments that manage scaling. These have the following structure: <!--Start PulumiCodeChooser --> <!--End PulumiCodeChooser -->- Returns:
- builder
-
stepAdjustments
public PolicyStepScalingPolicyConfigurationArgs.Builder stepAdjustments(java.util.List<PolicyStepScalingPolicyConfigurationStepAdjustmentArgs> stepAdjustments)
- Parameters:
stepAdjustments
- Set of adjustments that manage scaling. These have the following structure: <!--Start PulumiCodeChooser --> <!--End PulumiCodeChooser -->- Returns:
- builder
-
stepAdjustments
public PolicyStepScalingPolicyConfigurationArgs.Builder stepAdjustments(PolicyStepScalingPolicyConfigurationStepAdjustmentArgs... stepAdjustments)
- Parameters:
stepAdjustments
- Set of adjustments that manage scaling. These have the following structure: <!--Start PulumiCodeChooser --> <!--End PulumiCodeChooser -->- Returns:
- builder
-
build
public PolicyStepScalingPolicyConfigurationArgs build()
-
-