@Stability(value=Stable) public static final class CfnTaskSet.ScaleProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnTaskSet.ScaleProperty>
CfnTaskSet.ScaleProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnTaskSet.ScaleProperty |
build()
Builds the configured instance.
|
CfnTaskSet.ScaleProperty.Builder |
unit(String unit)
Sets the value of
CfnTaskSet.ScaleProperty.getUnit() |
CfnTaskSet.ScaleProperty.Builder |
value(Number value)
Sets the value of
CfnTaskSet.ScaleProperty.getValue() |
@Stability(value=Stable) public CfnTaskSet.ScaleProperty.Builder unit(String unit)
CfnTaskSet.ScaleProperty.getUnit()unit - The unit of measure for the scale value.this@Stability(value=Stable) public CfnTaskSet.ScaleProperty.Builder value(Number value)
CfnTaskSet.ScaleProperty.getValue()value - The value, specified as a percent total of a service's `desiredCount` , to scale the task set.
Accepted values are numbers between 0 and 100.this@Stability(value=Stable) public CfnTaskSet.ScaleProperty build()
build in interface software.amazon.jsii.Builder<CfnTaskSet.ScaleProperty>CfnTaskSet.ScalePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.