@Stability(value=Stable) public static final class AdjustmentTier.Builder extends Object implements software.amazon.jsii.Builder<AdjustmentTier>
AdjustmentTier| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
AdjustmentTier.Builder |
adjustment(Number adjustment)
Sets the value of
AdjustmentTier.getAdjustment() |
AdjustmentTier |
build()
Builds the configured instance.
|
AdjustmentTier.Builder |
lowerBound(Number lowerBound)
Sets the value of
AdjustmentTier.getLowerBound() |
AdjustmentTier.Builder |
upperBound(Number upperBound)
Sets the value of
AdjustmentTier.getUpperBound() |
@Stability(value=Stable) public AdjustmentTier.Builder adjustment(Number adjustment)
AdjustmentTier.getAdjustment()adjustment - What number to adjust the capacity with. This parameter is required.
The number is interpeted as an added capacity, a new fixed capacity or an
added percentage depending on the AdjustmentType value of the
StepScalingPolicy.
Can be positive or negative.
this@Stability(value=Stable) public AdjustmentTier.Builder lowerBound(Number lowerBound)
AdjustmentTier.getLowerBound()lowerBound - Lower bound where this scaling tier applies.
The scaling tier applies if the difference between the metric
value and its alarm threshold is higher than this value.this@Stability(value=Stable) public AdjustmentTier.Builder upperBound(Number upperBound)
AdjustmentTier.getUpperBound()upperBound - Upper bound where this scaling tier applies.
The scaling tier applies if the difference between the metric
value and its alarm threshold is lower than this value.this@Stability(value=Stable) public AdjustmentTier build()
build in interface software.amazon.jsii.Builder<AdjustmentTier>AdjustmentTierNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.