@Stability(value=Stable) public static final class CfnCapacityProviderProps.Builder extends Object implements software.amazon.jsii.Builder<CfnCapacityProviderProps>
CfnCapacityProviderProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnCapacityProviderProps.Builder |
autoScalingGroupProvider(CfnCapacityProvider.AutoScalingGroupProviderProperty autoScalingGroupProvider)
Sets the value of
CfnCapacityProviderProps.getAutoScalingGroupProvider() |
CfnCapacityProviderProps.Builder |
autoScalingGroupProvider(IResolvable autoScalingGroupProvider)
Sets the value of
CfnCapacityProviderProps.getAutoScalingGroupProvider() |
CfnCapacityProviderProps |
build()
Builds the configured instance.
|
CfnCapacityProviderProps.Builder |
name(String name)
Sets the value of
CfnCapacityProviderProps.getName() |
CfnCapacityProviderProps.Builder |
tags(List<? extends CfnTag> tags)
Sets the value of
CfnCapacityProviderProps.getTags() |
@Stability(value=Stable) public CfnCapacityProviderProps.Builder autoScalingGroupProvider(CfnCapacityProvider.AutoScalingGroupProviderProperty autoScalingGroupProvider)
CfnCapacityProviderProps.getAutoScalingGroupProvider()autoScalingGroupProvider - The Auto Scaling group settings for the capacity provider. This parameter is required.this@Stability(value=Stable) public CfnCapacityProviderProps.Builder autoScalingGroupProvider(IResolvable autoScalingGroupProvider)
CfnCapacityProviderProps.getAutoScalingGroupProvider()autoScalingGroupProvider - The Auto Scaling group settings for the capacity provider. This parameter is required.this@Stability(value=Stable) public CfnCapacityProviderProps.Builder name(String name)
CfnCapacityProviderProps.getName()name - The name of the capacity provider.
If a name is specified, it cannot start with aws , ecs , or fargate . If no name is specified, a default name in the CFNStackName-CFNResourceName-RandomString format is used.this@Stability(value=Stable) public CfnCapacityProviderProps.Builder tags(List<? extends CfnTag> tags)
CfnCapacityProviderProps.getTags()tags - The metadata that you apply to the capacity provider to help you categorize and organize it.
Each tag consists of a key and an optional value. You define both.
The following basic restrictions apply to tags:
aws: , AWS: , or any upper or lowercase combination of such as a prefix for either keys or values as it is reserved for AWS use. You cannot edit or delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per resource limit.this@Stability(value=Stable) public CfnCapacityProviderProps build()
build in interface software.amazon.jsii.Builder<CfnCapacityProviderProps>CfnCapacityProviderPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.