@Stability(value=Stable) public static final class ClusterAttributes.Builder extends Object implements software.amazon.jsii.Builder<ClusterAttributes>
ClusterAttributes| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public ClusterAttributes.Builder clusterName(String clusterName)
ClusterAttributes.getClusterName()clusterName - The name of the cluster. This parameter is required.this@Stability(value=Stable) public ClusterAttributes.Builder securityGroups(List<? extends ISecurityGroup> securityGroups)
ClusterAttributes.getSecurityGroups()securityGroups - The security groups associated with the container instances registered to the cluster. This parameter is required.this@Stability(value=Stable) public ClusterAttributes.Builder vpc(IVpc vpc)
ClusterAttributes.getVpc()vpc - The VPC associated with the cluster. This parameter is required.this@Stability(value=Stable) public ClusterAttributes.Builder autoscalingGroup(IAutoScalingGroup autoscalingGroup)
ClusterAttributes.getAutoscalingGroup()autoscalingGroup - Autoscaling group added to the cluster if capacity is added.this@Stability(value=Stable) public ClusterAttributes.Builder clusterArn(String clusterArn)
ClusterAttributes.getClusterArn()clusterArn - The Amazon Resource Name (ARN) that identifies the cluster.this@Stability(value=Stable) public ClusterAttributes.Builder defaultCloudMapNamespace(INamespace defaultCloudMapNamespace)
ClusterAttributes.getDefaultCloudMapNamespace()defaultCloudMapNamespace - The AWS Cloud Map namespace to associate with the cluster.this@Stability(value=Stable) public ClusterAttributes.Builder executeCommandConfiguration(ExecuteCommandConfiguration executeCommandConfiguration)
ClusterAttributes.getExecuteCommandConfiguration()executeCommandConfiguration - The execute command configuration for the cluster.this@Stability(value=Stable) public ClusterAttributes.Builder hasEc2Capacity(Boolean hasEc2Capacity)
ClusterAttributes.getHasEc2Capacity()hasEc2Capacity - Specifies whether the cluster has EC2 instance capacity.this@Stability(value=Stable) public ClusterAttributes build()
build in interface software.amazon.jsii.Builder<ClusterAttributes>ClusterAttributesNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.