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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AwsEcsServiceCapacityProviderStrategyDetails.Builderbase(Integer base)The minimum number of tasks to run on the capacity provider.AwsEcsServiceCapacityProviderStrategyDetails.BuildercapacityProvider(String capacityProvider)The short name of the capacity provider.AwsEcsServiceCapacityProviderStrategyDetails.Builderweight(Integer weight)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 Detail
-
base
AwsEcsServiceCapacityProviderStrategyDetails.Builder base(Integer 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
AwsEcsServiceCapacityProviderStrategyDetails.Builder capacityProvider(String 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
AwsEcsServiceCapacityProviderStrategyDetails.Builder weight(Integer 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.
-
-