Package com.pulumi.aws.ecs.inputs
Class GetTaskExecutionCapacityProviderStrategyArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.ecs.inputs.GetTaskExecutionCapacityProviderStrategyArgs.Builder
-
- Enclosing class:
- GetTaskExecutionCapacityProviderStrategyArgs
public static final class GetTaskExecutionCapacityProviderStrategyArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(GetTaskExecutionCapacityProviderStrategyArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetTaskExecutionCapacityProviderStrategyArgs.Builder
base(com.pulumi.core.Output<java.lang.Integer> base)
GetTaskExecutionCapacityProviderStrategyArgs.Builder
base(java.lang.Integer base)
GetTaskExecutionCapacityProviderStrategyArgs
build()
GetTaskExecutionCapacityProviderStrategyArgs.Builder
capacityProvider(com.pulumi.core.Output<java.lang.String> capacityProvider)
GetTaskExecutionCapacityProviderStrategyArgs.Builder
capacityProvider(java.lang.String capacityProvider)
GetTaskExecutionCapacityProviderStrategyArgs.Builder
weight(com.pulumi.core.Output<java.lang.Integer> weight)
GetTaskExecutionCapacityProviderStrategyArgs.Builder
weight(java.lang.Integer weight)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(GetTaskExecutionCapacityProviderStrategyArgs defaults)
-
-
Method Detail
-
base
public GetTaskExecutionCapacityProviderStrategyArgs.Builder base(@Nullable com.pulumi.core.Output<java.lang.Integer> base)
- Parameters:
base
- The number of 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. Defaults to `0`.- Returns:
- builder
-
base
public GetTaskExecutionCapacityProviderStrategyArgs.Builder base(java.lang.Integer base)
- Parameters:
base
- The number of 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. Defaults to `0`.- Returns:
- builder
-
capacityProvider
public GetTaskExecutionCapacityProviderStrategyArgs.Builder capacityProvider(com.pulumi.core.Output<java.lang.String> capacityProvider)
- Parameters:
capacityProvider
- Name of the capacity provider.- Returns:
- builder
-
capacityProvider
public GetTaskExecutionCapacityProviderStrategyArgs.Builder capacityProvider(java.lang.String capacityProvider)
- Parameters:
capacityProvider
- Name of the capacity provider.- Returns:
- builder
-
weight
public GetTaskExecutionCapacityProviderStrategyArgs.Builder weight(@Nullable com.pulumi.core.Output<java.lang.Integer> weight)
- Parameters:
weight
- The relative percentage of the total number of launched tasks that should use the specified capacity provider. The `weight` value is taken into consideration after the `base` count of tasks has been satisfied. Defaults to `0`.- Returns:
- builder
-
weight
public GetTaskExecutionCapacityProviderStrategyArgs.Builder weight(java.lang.Integer weight)
- Parameters:
weight
- The relative percentage of the total number of launched tasks that should use the specified capacity provider. The `weight` value is taken into consideration after the `base` count of tasks has been satisfied. Defaults to `0`.- Returns:
- builder
-
build
public GetTaskExecutionCapacityProviderStrategyArgs build()
-
-