@Stability(value=Stable) public static final class CfnRule.CapacityProviderStrategyItemProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnRule.CapacityProviderStrategyItemProperty>
CfnRule.CapacityProviderStrategyItemProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnRule.CapacityProviderStrategyItemProperty.Builder |
base(Number base)
Sets the value of
CfnRule.CapacityProviderStrategyItemProperty.getBase() |
CfnRule.CapacityProviderStrategyItemProperty |
build()
Builds the configured instance.
|
CfnRule.CapacityProviderStrategyItemProperty.Builder |
capacityProvider(String capacityProvider)
Sets the value of
CfnRule.CapacityProviderStrategyItemProperty.getCapacityProvider() |
CfnRule.CapacityProviderStrategyItemProperty.Builder |
weight(Number weight)
Sets the value of
CfnRule.CapacityProviderStrategyItemProperty.getWeight() |
@Stability(value=Stable) public CfnRule.CapacityProviderStrategyItemProperty.Builder capacityProvider(String capacityProvider)
CfnRule.CapacityProviderStrategyItemProperty.getCapacityProvider()capacityProvider - The short name of the capacity provider. This parameter is required.this@Stability(value=Stable) public CfnRule.CapacityProviderStrategyItemProperty.Builder base(Number base)
CfnRule.CapacityProviderStrategyItemProperty.getBase()base - The base value designates how many tasks, at a minimum, to run on the specified capacity provider.
Only one capacity provider in a capacity provider strategy can have a base defined. If no value is specified, the default value of 0 is used.this@Stability(value=Stable) public CfnRule.CapacityProviderStrategyItemProperty.Builder weight(Number weight)
CfnRule.CapacityProviderStrategyItemProperty.getWeight()weight - The weight value designates the relative percentage of the total number of tasks launched that should use the specified capacity provider.
The weight value is taken into consideration after the base value, if defined, is satisfied.this@Stability(value=Stable) public CfnRule.CapacityProviderStrategyItemProperty build()
build in interface software.amazon.jsii.Builder<CfnRule.CapacityProviderStrategyItemProperty>CfnRule.CapacityProviderStrategyItemPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.