Interface AwsEcsServiceCapacityProviderStrategyDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsEcsServiceCapacityProviderStrategyDetails.Builder,
,AwsEcsServiceCapacityProviderStrategyDetails> SdkBuilder<AwsEcsServiceCapacityProviderStrategyDetails.Builder,
,AwsEcsServiceCapacityProviderStrategyDetails> SdkPojo
- Enclosing class:
AwsEcsServiceCapacityProviderStrategyDetails
public static interface AwsEcsServiceCapacityProviderStrategyDetails.Builder
extends SdkPojo, CopyableBuilder<AwsEcsServiceCapacityProviderStrategyDetails.Builder,AwsEcsServiceCapacityProviderStrategyDetails>
-
Method Summary
Modifier and TypeMethodDescriptionThe minimum number of tasks to run on the capacity provider.capacityProvider
(String capacityProvider) The short name of the capacity provider.The relative percentage of the total number of tasks that should use the capacity provider.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
base
The minimum number of tasks to run on the capacity provider. Only one strategy item can specify a value for
Base
.The value must be between 0 and 100000.
- Parameters:
base
- The minimum number of tasks to run on the capacity provider. Only one strategy item can specify a value forBase
.The value must be between 0 and 100000.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityProvider
The short name of the capacity provider.
- Parameters:
capacityProvider
- The short name of the capacity provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
weight
The relative percentage of the total number of tasks that should use the capacity provider.
If no weight is specified, the default value is 0. At least one capacity provider must have a weight greater than 0.
The value can be between 0 and 1000.
- Parameters:
weight
- The relative percentage of the total number of tasks that should use the capacity provider.If no weight is specified, the default value is 0. At least one capacity provider must have a weight greater than 0.
The value can be between 0 and 1000.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-