@Stability(value=Stable) public static final class BasicStepScalingPolicyProps.Builder extends Object implements software.amazon.jsii.Builder<BasicStepScalingPolicyProps>
BasicStepScalingPolicyProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
BasicStepScalingPolicyProps.Builder |
adjustmentType(AdjustmentType adjustmentType)
Sets the value of
BasicStepScalingPolicyProps.getAdjustmentType() |
BasicStepScalingPolicyProps |
build()
Builds the configured instance.
|
BasicStepScalingPolicyProps.Builder |
cooldown(Duration cooldown)
Sets the value of
BasicStepScalingPolicyProps.getCooldown() |
BasicStepScalingPolicyProps.Builder |
metric(IMetric metric)
Sets the value of
BasicStepScalingPolicyProps.getMetric() |
BasicStepScalingPolicyProps.Builder |
minAdjustmentMagnitude(Number minAdjustmentMagnitude)
Sets the value of
BasicStepScalingPolicyProps.getMinAdjustmentMagnitude() |
BasicStepScalingPolicyProps.Builder |
scalingSteps(List<? extends ScalingInterval> scalingSteps)
Sets the value of
BasicStepScalingPolicyProps.getScalingSteps() |
@Stability(value=Stable) public BasicStepScalingPolicyProps.Builder metric(IMetric metric)
BasicStepScalingPolicyProps.getMetric()metric - Metric to scale on. This parameter is required.this@Stability(value=Stable) public BasicStepScalingPolicyProps.Builder scalingSteps(List<? extends ScalingInterval> scalingSteps)
BasicStepScalingPolicyProps.getScalingSteps()scalingSteps - The intervals for scaling. This parameter is required.
Maps a range of metric values to a particular scaling behavior.this@Stability(value=Stable) public BasicStepScalingPolicyProps.Builder adjustmentType(AdjustmentType adjustmentType)
BasicStepScalingPolicyProps.getAdjustmentType()adjustmentType - How the adjustment numbers inside 'intervals' are interpreted.this@Stability(value=Stable) public BasicStepScalingPolicyProps.Builder cooldown(Duration cooldown)
BasicStepScalingPolicyProps.getCooldown()cooldown - Grace period after scaling activity.
Subsequent scale outs during the cooldown period are squashed so that only
the biggest scale out happens.
Subsequent scale ins during the cooldown period are ignored.
this@Stability(value=Stable) public BasicStepScalingPolicyProps.Builder minAdjustmentMagnitude(Number minAdjustmentMagnitude)
BasicStepScalingPolicyProps.getMinAdjustmentMagnitude()minAdjustmentMagnitude - Minimum absolute number to adjust capacity with as result of percentage scaling.
Only when using AdjustmentType = PercentChangeInCapacity, this number controls
the minimum absolute effect size.this@Stability(value=Stable) public BasicStepScalingPolicyProps build()
build in interface software.amazon.jsii.Builder<BasicStepScalingPolicyProps>BasicStepScalingPolicyPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.