Class ContainerClusterNodePoolNetworkConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.container_cluster.ContainerClusterNodePoolNetworkConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ContainerClusterNodePoolNetworkConfig>
- Enclosing interface:
- ContainerClusterNodePoolNetworkConfig
@Stability(Stable) public static final class ContainerClusterNodePoolNetworkConfig.Builder extends Object implements software.amazon.jsii.Builder<ContainerClusterNodePoolNetworkConfig>
A builder forContainerClusterNodePoolNetworkConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
additionalNodeNetworkConfigs
@Stability(Stable) public ContainerClusterNodePoolNetworkConfig.Builder additionalNodeNetworkConfigs(com.hashicorp.cdktf.IResolvable additionalNodeNetworkConfigs)
Sets the value ofContainerClusterNodePoolNetworkConfig.getAdditionalNodeNetworkConfigs()- Parameters:
additionalNodeNetworkConfigs- additional_node_network_configs block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#additional_node_network_configs ContainerCluster#additional_node_network_configs}- Returns:
this
-
additionalNodeNetworkConfigs
@Stability(Stable) public ContainerClusterNodePoolNetworkConfig.Builder additionalNodeNetworkConfigs(List<? extends ContainerClusterNodePoolNetworkConfigAdditionalNodeNetworkConfigs> additionalNodeNetworkConfigs)
Sets the value ofContainerClusterNodePoolNetworkConfig.getAdditionalNodeNetworkConfigs()- Parameters:
additionalNodeNetworkConfigs- additional_node_network_configs block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#additional_node_network_configs ContainerCluster#additional_node_network_configs}- Returns:
this
-
additionalPodNetworkConfigs
@Stability(Stable) public ContainerClusterNodePoolNetworkConfig.Builder additionalPodNetworkConfigs(com.hashicorp.cdktf.IResolvable additionalPodNetworkConfigs)
Sets the value ofContainerClusterNodePoolNetworkConfig.getAdditionalPodNetworkConfigs()- Parameters:
additionalPodNetworkConfigs- additional_pod_network_configs block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#additional_pod_network_configs ContainerCluster#additional_pod_network_configs}- Returns:
this
-
additionalPodNetworkConfigs
@Stability(Stable) public ContainerClusterNodePoolNetworkConfig.Builder additionalPodNetworkConfigs(List<? extends ContainerClusterNodePoolNetworkConfigAdditionalPodNetworkConfigs> additionalPodNetworkConfigs)
Sets the value ofContainerClusterNodePoolNetworkConfig.getAdditionalPodNetworkConfigs()- Parameters:
additionalPodNetworkConfigs- additional_pod_network_configs block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#additional_pod_network_configs ContainerCluster#additional_pod_network_configs}- Returns:
this
-
createPodRange
@Stability(Stable) public ContainerClusterNodePoolNetworkConfig.Builder createPodRange(Boolean createPodRange)
Sets the value ofContainerClusterNodePoolNetworkConfig.getCreatePodRange()- Parameters:
createPodRange- Whether to create a new range for pod IPs in this node pool. Defaults are provided for pod_range and pod_ipv4_cidr_block if they are not specified. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#create_pod_range ContainerCluster#create_pod_range}- Returns:
this
-
createPodRange
@Stability(Stable) public ContainerClusterNodePoolNetworkConfig.Builder createPodRange(com.hashicorp.cdktf.IResolvable createPodRange)
Sets the value ofContainerClusterNodePoolNetworkConfig.getCreatePodRange()- Parameters:
createPodRange- Whether to create a new range for pod IPs in this node pool. Defaults are provided for pod_range and pod_ipv4_cidr_block if they are not specified. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#create_pod_range ContainerCluster#create_pod_range}- Returns:
this
-
enablePrivateNodes
@Stability(Stable) public ContainerClusterNodePoolNetworkConfig.Builder enablePrivateNodes(Boolean enablePrivateNodes)
Sets the value ofContainerClusterNodePoolNetworkConfig.getEnablePrivateNodes()- Parameters:
enablePrivateNodes- Whether nodes have internal IP addresses only. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#enable_private_nodes ContainerCluster#enable_private_nodes}- Returns:
this
-
enablePrivateNodes
@Stability(Stable) public ContainerClusterNodePoolNetworkConfig.Builder enablePrivateNodes(com.hashicorp.cdktf.IResolvable enablePrivateNodes)
Sets the value ofContainerClusterNodePoolNetworkConfig.getEnablePrivateNodes()- Parameters:
enablePrivateNodes- Whether nodes have internal IP addresses only. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#enable_private_nodes ContainerCluster#enable_private_nodes}- Returns:
this
-
networkPerformanceConfig
@Stability(Stable) public ContainerClusterNodePoolNetworkConfig.Builder networkPerformanceConfig(ContainerClusterNodePoolNetworkConfigNetworkPerformanceConfig networkPerformanceConfig)
Sets the value ofContainerClusterNodePoolNetworkConfig.getNetworkPerformanceConfig()- Parameters:
networkPerformanceConfig- network_performance_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#network_performance_config ContainerCluster#network_performance_config}- Returns:
this
-
podCidrOverprovisionConfig
@Stability(Stable) public ContainerClusterNodePoolNetworkConfig.Builder podCidrOverprovisionConfig(ContainerClusterNodePoolNetworkConfigPodCidrOverprovisionConfig podCidrOverprovisionConfig)
Sets the value ofContainerClusterNodePoolNetworkConfig.getPodCidrOverprovisionConfig()- Parameters:
podCidrOverprovisionConfig- pod_cidr_overprovision_config block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#pod_cidr_overprovision_config ContainerCluster#pod_cidr_overprovision_config}- Returns:
this
-
podIpv4CidrBlock
@Stability(Stable) public ContainerClusterNodePoolNetworkConfig.Builder podIpv4CidrBlock(String podIpv4CidrBlock)
Sets the value ofContainerClusterNodePoolNetworkConfig.getPodIpv4CidrBlock()- Parameters:
podIpv4CidrBlock- The IP address range for pod IPs in this node pool. Only applicable if create_pod_range is true. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. /14) to have a range chosen with a specific netmask. Set to a CIDR notation (e.g. 10.96.0.0/14) to pick a specific range to use. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#pod_ipv4_cidr_block ContainerCluster#pod_ipv4_cidr_block}- Returns:
this
-
podRange
@Stability(Stable) public ContainerClusterNodePoolNetworkConfig.Builder podRange(String podRange)
Sets the value ofContainerClusterNodePoolNetworkConfig.getPodRange()- Parameters:
podRange- The ID of the secondary range for pod IPs. If create_pod_range is true, this ID is used for the new range. If create_pod_range is false, uses an existing secondary range with this ID. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#pod_range ContainerCluster#pod_range}- Returns:
this
-
build
@Stability(Stable) public ContainerClusterNodePoolNetworkConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ContainerClusterNodePoolNetworkConfig>- Returns:
- a new instance of
ContainerClusterNodePoolNetworkConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-