Class PolicyStepAdjustmentArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.autoscaling.inputs.PolicyStepAdjustmentArgs.Builder
-
- Enclosing class:
- PolicyStepAdjustmentArgs
public static final class PolicyStepAdjustmentArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(PolicyStepAdjustmentArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyStepAdjustmentArgs
build()
PolicyStepAdjustmentArgs.Builder
metricIntervalLowerBound(com.pulumi.core.Output<java.lang.String> metricIntervalLowerBound)
PolicyStepAdjustmentArgs.Builder
metricIntervalLowerBound(java.lang.String metricIntervalLowerBound)
PolicyStepAdjustmentArgs.Builder
metricIntervalUpperBound(com.pulumi.core.Output<java.lang.String> metricIntervalUpperBound)
PolicyStepAdjustmentArgs.Builder
metricIntervalUpperBound(java.lang.String metricIntervalUpperBound)
PolicyStepAdjustmentArgs.Builder
scalingAdjustment(com.pulumi.core.Output<java.lang.Integer> scalingAdjustment)
PolicyStepAdjustmentArgs.Builder
scalingAdjustment(java.lang.Integer scalingAdjustment)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(PolicyStepAdjustmentArgs defaults)
-
-
Method Detail
-
metricIntervalLowerBound
public PolicyStepAdjustmentArgs.Builder metricIntervalLowerBound(@Nullable com.pulumi.core.Output<java.lang.String> metricIntervalLowerBound)
- Parameters:
metricIntervalLowerBound
- Lower bound for the difference between the alarm threshold and the CloudWatch metric. Without a value, AWS will treat this bound as negative infinity.- Returns:
- builder
-
metricIntervalLowerBound
public PolicyStepAdjustmentArgs.Builder metricIntervalLowerBound(java.lang.String metricIntervalLowerBound)
- Parameters:
metricIntervalLowerBound
- Lower bound for the difference between the alarm threshold and the CloudWatch metric. Without a value, AWS will treat this bound as negative infinity.- Returns:
- builder
-
metricIntervalUpperBound
public PolicyStepAdjustmentArgs.Builder metricIntervalUpperBound(@Nullable com.pulumi.core.Output<java.lang.String> metricIntervalUpperBound)
- Parameters:
metricIntervalUpperBound
- Upper bound for the difference between the alarm threshold and the CloudWatch metric. Without a value, AWS will treat this bound as positive infinity. The upper bound must be greater than the lower bound. Notice the bounds are **relative** to the alarm threshold, meaning that the starting point is not 0%, but the alarm threshold. Check the official [docs](https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html#as-scaling-steps) for a detailed example. The following arguments are only available to "TargetTrackingScaling" type policies:- Returns:
- builder
-
metricIntervalUpperBound
public PolicyStepAdjustmentArgs.Builder metricIntervalUpperBound(java.lang.String metricIntervalUpperBound)
- Parameters:
metricIntervalUpperBound
- Upper bound for the difference between the alarm threshold and the CloudWatch metric. Without a value, AWS will treat this bound as positive infinity. The upper bound must be greater than the lower bound. Notice the bounds are **relative** to the alarm threshold, meaning that the starting point is not 0%, but the alarm threshold. Check the official [docs](https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html#as-scaling-steps) for a detailed example. The following arguments are only available to "TargetTrackingScaling" type policies:- Returns:
- builder
-
scalingAdjustment
public PolicyStepAdjustmentArgs.Builder scalingAdjustment(com.pulumi.core.Output<java.lang.Integer> scalingAdjustment)
- Parameters:
scalingAdjustment
- Number of members by which to scale, when the adjustment bounds are breached. A positive value scales up. A negative value scales down.- Returns:
- builder
-
scalingAdjustment
public PolicyStepAdjustmentArgs.Builder scalingAdjustment(java.lang.Integer scalingAdjustment)
- Parameters:
scalingAdjustment
- Number of members by which to scale, when the adjustment bounds are breached. A positive value scales up. A negative value scales down.- Returns:
- builder
-
build
public PolicyStepAdjustmentArgs build()
-
-