Class PolicyStepScalingPolicyConfigurationStepAdjustmentArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.appautoscaling.inputs.PolicyStepScalingPolicyConfigurationStepAdjustmentArgs.Builder
-
- Enclosing class:
- PolicyStepScalingPolicyConfigurationStepAdjustmentArgs
public static final class PolicyStepScalingPolicyConfigurationStepAdjustmentArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(PolicyStepScalingPolicyConfigurationStepAdjustmentArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyStepScalingPolicyConfigurationStepAdjustmentArgsbuild()PolicyStepScalingPolicyConfigurationStepAdjustmentArgs.BuildermetricIntervalLowerBound(com.pulumi.core.Output<java.lang.String> metricIntervalLowerBound)PolicyStepScalingPolicyConfigurationStepAdjustmentArgs.BuildermetricIntervalLowerBound(java.lang.String metricIntervalLowerBound)PolicyStepScalingPolicyConfigurationStepAdjustmentArgs.BuildermetricIntervalUpperBound(com.pulumi.core.Output<java.lang.String> metricIntervalUpperBound)PolicyStepScalingPolicyConfigurationStepAdjustmentArgs.BuildermetricIntervalUpperBound(java.lang.String metricIntervalUpperBound)PolicyStepScalingPolicyConfigurationStepAdjustmentArgs.BuilderscalingAdjustment(com.pulumi.core.Output<java.lang.Integer> scalingAdjustment)PolicyStepScalingPolicyConfigurationStepAdjustmentArgs.BuilderscalingAdjustment(java.lang.Integer scalingAdjustment)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(PolicyStepScalingPolicyConfigurationStepAdjustmentArgs defaults)
-
-
Method Detail
-
metricIntervalLowerBound
public PolicyStepScalingPolicyConfigurationStepAdjustmentArgs.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 treats this bound as negative infinity.- Returns:
- builder
-
metricIntervalLowerBound
public PolicyStepScalingPolicyConfigurationStepAdjustmentArgs.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 treats this bound as negative infinity.- Returns:
- builder
-
metricIntervalUpperBound
public PolicyStepScalingPolicyConfigurationStepAdjustmentArgs.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 treats this bound as infinity. The upper bound must be greater than the lower bound.- Returns:
- builder
-
metricIntervalUpperBound
public PolicyStepScalingPolicyConfigurationStepAdjustmentArgs.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 treats this bound as infinity. The upper bound must be greater than the lower bound.- Returns:
- builder
-
scalingAdjustment
public PolicyStepScalingPolicyConfigurationStepAdjustmentArgs.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 PolicyStepScalingPolicyConfigurationStepAdjustmentArgs.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 PolicyStepScalingPolicyConfigurationStepAdjustmentArgs build()
-
-