Package com.pulumi.aws.ecs
Class CapacityProviderArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.ecs.CapacityProviderArgs.Builder
-
- Enclosing class:
- CapacityProviderArgs
public static final class CapacityProviderArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(CapacityProviderArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(CapacityProviderArgs defaults)
-
-
Method Detail
-
autoScalingGroupProvider
public CapacityProviderArgs.Builder autoScalingGroupProvider(@Nullable com.pulumi.core.Output<CapacityProviderAutoScalingGroupProviderArgs> autoScalingGroupProvider)
- Parameters:
autoScalingGroupProvider- Configuration block for the provider for the ECS Auto Scaling group. Detailed below. Exactly one of `autoScalingGroupProvider` or `managedInstancesProvider` must be specified.- Returns:
- builder
-
autoScalingGroupProvider
public CapacityProviderArgs.Builder autoScalingGroupProvider(CapacityProviderAutoScalingGroupProviderArgs autoScalingGroupProvider)
- Parameters:
autoScalingGroupProvider- Configuration block for the provider for the ECS Auto Scaling group. Detailed below. Exactly one of `autoScalingGroupProvider` or `managedInstancesProvider` must be specified.- Returns:
- builder
-
cluster
public CapacityProviderArgs.Builder cluster(@Nullable com.pulumi.core.Output<java.lang.String> cluster)
- Parameters:
cluster- Name of the ECS cluster. Required when using `managedInstancesProvider`. Must not be set when using `autoScalingGroupProvider`.- Returns:
- builder
-
cluster
public CapacityProviderArgs.Builder cluster(java.lang.String cluster)
- Parameters:
cluster- Name of the ECS cluster. Required when using `managedInstancesProvider`. Must not be set when using `autoScalingGroupProvider`.- Returns:
- builder
-
managedInstancesProvider
public CapacityProviderArgs.Builder managedInstancesProvider(@Nullable com.pulumi.core.Output<CapacityProviderManagedInstancesProviderArgs> managedInstancesProvider)
- Parameters:
managedInstancesProvider- Configuration block for the managed instances provider. Detailed below. Exactly one of `autoScalingGroupProvider` or `managedInstancesProvider` must be specified.- Returns:
- builder
-
managedInstancesProvider
public CapacityProviderArgs.Builder managedInstancesProvider(CapacityProviderManagedInstancesProviderArgs managedInstancesProvider)
- Parameters:
managedInstancesProvider- Configuration block for the managed instances provider. Detailed below. Exactly one of `autoScalingGroupProvider` or `managedInstancesProvider` must be specified.- Returns:
- builder
-
name
public CapacityProviderArgs.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- Name of the capacity provider.- Returns:
- builder
-
name
public CapacityProviderArgs.Builder name(java.lang.String name)
- Parameters:
name- Name of the capacity provider.- Returns:
- builder
-
region
public CapacityProviderArgs.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public CapacityProviderArgs.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
tags
public CapacityProviderArgs.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags- Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public CapacityProviderArgs.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
build
public CapacityProviderArgs build()
-
-