@Stability(value=Experimental) public static final class ClusterProps.Builder extends Object implements software.amazon.jsii.Builder<ClusterProps>
ClusterProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ClusterProps |
build()
Builds the configured instance.
|
ClusterProps.Builder |
capacity(AddCapacityOptions capacity)
Sets the value of
ClusterProps.getCapacity() |
ClusterProps.Builder |
clusterName(String clusterName)
Sets the value of
ClusterProps.getClusterName() |
ClusterProps.Builder |
containerInsights(Boolean containerInsights)
Sets the value of
ClusterProps.getContainerInsights() |
ClusterProps.Builder |
defaultCloudMapNamespace(CloudMapNamespaceOptions defaultCloudMapNamespace)
Sets the value of
ClusterProps.getDefaultCloudMapNamespace() |
ClusterProps.Builder |
enableFargateCapacityProviders(Boolean enableFargateCapacityProviders)
Sets the value of
ClusterProps.getEnableFargateCapacityProviders() |
ClusterProps.Builder |
vpc(IVpc vpc)
Sets the value of
ClusterProps.getVpc() |
@Stability(value=Experimental) public ClusterProps.Builder capacity(AddCapacityOptions capacity)
ClusterProps.getCapacity()capacity - The ec2 capacity to add to the cluster.this@Stability(value=Experimental) public ClusterProps.Builder clusterName(String clusterName)
ClusterProps.getClusterName()clusterName - The name for the cluster.this@Stability(value=Experimental) public ClusterProps.Builder containerInsights(Boolean containerInsights)
ClusterProps.getContainerInsights()containerInsights - If true CloudWatch Container Insights will be enabled for the cluster.this@Stability(value=Experimental) public ClusterProps.Builder defaultCloudMapNamespace(CloudMapNamespaceOptions defaultCloudMapNamespace)
ClusterProps.getDefaultCloudMapNamespace()defaultCloudMapNamespace - The service discovery namespace created in this cluster.this@Stability(value=Experimental) public ClusterProps.Builder enableFargateCapacityProviders(Boolean enableFargateCapacityProviders)
ClusterProps.getEnableFargateCapacityProviders()enableFargateCapacityProviders - Whether to enable Fargate Capacity Providers.this@Stability(value=Experimental) public ClusterProps.Builder vpc(IVpc vpc)
ClusterProps.getVpc()vpc - The VPC where your ECS instances will be running or your ENIs will be deployed.this@Stability(value=Experimental) public ClusterProps build()
build in interface software.amazon.jsii.Builder<ClusterProps>ClusterPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.