Class ContainerAwsClusterNetworking.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.container_aws_cluster.ContainerAwsClusterNetworking.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ContainerAwsClusterNetworking>
- Enclosing interface:
- ContainerAwsClusterNetworking
@Stability(Stable) public static final class ContainerAwsClusterNetworking.Builder extends Object implements software.amazon.jsii.Builder<ContainerAwsClusterNetworking>
A builder forContainerAwsClusterNetworking
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
podAddressCidrBlocks
@Stability(Stable) public ContainerAwsClusterNetworking.Builder podAddressCidrBlocks(List<String> podAddressCidrBlocks)
Sets the value ofContainerAwsClusterNetworking.getPodAddressCidrBlocks()- Parameters:
podAddressCidrBlocks- All pods in the cluster are assigned an RFC1918 IPv4 address from these ranges. This parameter is required. Only a single range is supported. This field cannot be changed after creation. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_aws_cluster#pod_address_cidr_blocks ContainerAwsCluster#pod_address_cidr_blocks}- Returns:
this
-
serviceAddressCidrBlocks
@Stability(Stable) public ContainerAwsClusterNetworking.Builder serviceAddressCidrBlocks(List<String> serviceAddressCidrBlocks)
Sets the value ofContainerAwsClusterNetworking.getServiceAddressCidrBlocks()- Parameters:
serviceAddressCidrBlocks- All services in the cluster are assigned an RFC1918 IPv4 address from these ranges. This parameter is required. Only a single range is supported. This field cannot be changed after creation. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_aws_cluster#service_address_cidr_blocks ContainerAwsCluster#service_address_cidr_blocks}- Returns:
this
-
vpcId
@Stability(Stable) public ContainerAwsClusterNetworking.Builder vpcId(String vpcId)
Sets the value ofContainerAwsClusterNetworking.getVpcId()- Parameters:
vpcId- The VPC associated with the cluster. This parameter is required. All component clusters (i.e. control plane and node pools) run on a single VPC. This field cannot be changed after creation. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_aws_cluster#vpc_id ContainerAwsCluster#vpc_id}- Returns:
this
-
perNodePoolSgRulesDisabled
@Stability(Stable) public ContainerAwsClusterNetworking.Builder perNodePoolSgRulesDisabled(Boolean perNodePoolSgRulesDisabled)
Sets the value ofContainerAwsClusterNetworking.getPerNodePoolSgRulesDisabled()- Parameters:
perNodePoolSgRulesDisabled- Disable the per node pool subnet security group rules on the control plane security group. When set to true, you must also provide one or more security groups that ensure node pools are able to send requests to the control plane on TCP/443 and TCP/8132. Failure to do so may result in unavailable node pools. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_aws_cluster#per_node_pool_sg_rules_disabled ContainerAwsCluster#per_node_pool_sg_rules_disabled}- Returns:
this
-
perNodePoolSgRulesDisabled
@Stability(Stable) public ContainerAwsClusterNetworking.Builder perNodePoolSgRulesDisabled(com.hashicorp.cdktf.IResolvable perNodePoolSgRulesDisabled)
Sets the value ofContainerAwsClusterNetworking.getPerNodePoolSgRulesDisabled()- Parameters:
perNodePoolSgRulesDisabled- Disable the per node pool subnet security group rules on the control plane security group. When set to true, you must also provide one or more security groups that ensure node pools are able to send requests to the control plane on TCP/443 and TCP/8132. Failure to do so may result in unavailable node pools. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_aws_cluster#per_node_pool_sg_rules_disabled ContainerAwsCluster#per_node_pool_sg_rules_disabled}- Returns:
this
-
build
@Stability(Stable) public ContainerAwsClusterNetworking build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ContainerAwsClusterNetworking>- Returns:
- a new instance of
ContainerAwsClusterNetworking - Throws:
NullPointerException- if any required attribute was not provided
-
-