Class CfnClusterCapacityProviderAssociationsPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ecs.CfnClusterCapacityProviderAssociationsPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterCapacityProviderAssociationsPropsMixin>
- Enclosing class:
CfnClusterCapacityProviderAssociationsPropsMixin
@Stability(Stable)
public static final class CfnClusterCapacityProviderAssociationsPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterCapacityProviderAssociationsPropsMixin>
A fluent builder for
CfnClusterCapacityProviderAssociationsPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()capacityProviders(List<? extends Object> capacityProviders) The capacity providers to associate with the cluster.The cluster the capacity provider association is the target of.cluster(IClusterRef cluster) The cluster the capacity provider association is the target of.create()create(CfnPropertyMixinOptions options) defaultCapacityProviderStrategy(List<? extends Object> defaultCapacityProviderStrategy) The default capacity provider strategy to associate with the cluster.defaultCapacityProviderStrategy(IResolvable defaultCapacityProviderStrategy) The default capacity provider strategy to associate with the cluster.
-
Method Details
-
create
@Stability(Stable) public static CfnClusterCapacityProviderAssociationsPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnClusterCapacityProviderAssociationsPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnClusterCapacityProviderAssociationsPropsMixin.Builder.
-
capacityProviders
@Stability(Stable) public CfnClusterCapacityProviderAssociationsPropsMixin.Builder capacityProviders(List<? extends Object> capacityProviders) The capacity providers to associate with the cluster.- Parameters:
capacityProviders- The capacity providers to associate with the cluster. This parameter is required.- Returns:
this- See Also:
-
cluster
@Stability(Stable) public CfnClusterCapacityProviderAssociationsPropsMixin.Builder cluster(String cluster) The cluster the capacity provider association is the target of.- Parameters:
cluster- The cluster the capacity provider association is the target of. This parameter is required.- Returns:
this- See Also:
-
cluster
@Stability(Stable) public CfnClusterCapacityProviderAssociationsPropsMixin.Builder cluster(IClusterRef cluster) The cluster the capacity provider association is the target of.- Parameters:
cluster- The cluster the capacity provider association is the target of. This parameter is required.- Returns:
this- See Also:
-
defaultCapacityProviderStrategy
@Stability(Stable) public CfnClusterCapacityProviderAssociationsPropsMixin.Builder defaultCapacityProviderStrategy(IResolvable defaultCapacityProviderStrategy) The default capacity provider strategy to associate with the cluster.- Parameters:
defaultCapacityProviderStrategy- The default capacity provider strategy to associate with the cluster. This parameter is required.- Returns:
this- See Also:
-
defaultCapacityProviderStrategy
@Stability(Stable) public CfnClusterCapacityProviderAssociationsPropsMixin.Builder defaultCapacityProviderStrategy(List<? extends Object> defaultCapacityProviderStrategy) The default capacity provider strategy to associate with the cluster.- Parameters:
defaultCapacityProviderStrategy- The default capacity provider strategy to associate with the cluster. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClusterCapacityProviderAssociationsPropsMixin>- Returns:
- a newly built instance of
CfnClusterCapacityProviderAssociationsPropsMixin.
-