Class ContainerClusterNodePoolNetworkConfigAdditionalPodNetworkConfigs.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.container_cluster.ContainerClusterNodePoolNetworkConfigAdditionalPodNetworkConfigs.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ContainerClusterNodePoolNetworkConfigAdditionalPodNetworkConfigs>
- Enclosing interface:
- ContainerClusterNodePoolNetworkConfigAdditionalPodNetworkConfigs
@Stability(Stable) public static final class ContainerClusterNodePoolNetworkConfigAdditionalPodNetworkConfigs.Builder extends Object implements software.amazon.jsii.Builder<ContainerClusterNodePoolNetworkConfigAdditionalPodNetworkConfigs>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerClusterNodePoolNetworkConfigAdditionalPodNetworkConfigsbuild()Builds the configured instance.ContainerClusterNodePoolNetworkConfigAdditionalPodNetworkConfigs.BuildermaxPodsPerNode(Number maxPodsPerNode)ContainerClusterNodePoolNetworkConfigAdditionalPodNetworkConfigs.BuildersecondaryPodRange(String secondaryPodRange)ContainerClusterNodePoolNetworkConfigAdditionalPodNetworkConfigs.Buildersubnetwork(String subnetwork)
-
-
-
Method Detail
-
maxPodsPerNode
@Stability(Stable) public ContainerClusterNodePoolNetworkConfigAdditionalPodNetworkConfigs.Builder maxPodsPerNode(Number maxPodsPerNode)
Sets the value ofContainerClusterNodePoolNetworkConfigAdditionalPodNetworkConfigs.getMaxPodsPerNode()- Parameters:
maxPodsPerNode- The maximum number of pods per node which use this pod network. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#max_pods_per_node ContainerCluster#max_pods_per_node}- Returns:
this
-
secondaryPodRange
@Stability(Stable) public ContainerClusterNodePoolNetworkConfigAdditionalPodNetworkConfigs.Builder secondaryPodRange(String secondaryPodRange)
Sets the value ofContainerClusterNodePoolNetworkConfigAdditionalPodNetworkConfigs.getSecondaryPodRange()- Parameters:
secondaryPodRange- The name of the secondary range on the subnet which provides IP address for this pod range. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#secondary_pod_range ContainerCluster#secondary_pod_range}- Returns:
this
-
subnetwork
@Stability(Stable) public ContainerClusterNodePoolNetworkConfigAdditionalPodNetworkConfigs.Builder subnetwork(String subnetwork)
- Parameters:
subnetwork- Name of the subnetwork where the additional pod network belongs. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#subnetwork ContainerCluster#subnetwork}- Returns:
this
-
build
@Stability(Stable) public ContainerClusterNodePoolNetworkConfigAdditionalPodNetworkConfigs build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ContainerClusterNodePoolNetworkConfigAdditionalPodNetworkConfigs>- Returns:
- a new instance of
ContainerClusterNodePoolNetworkConfigAdditionalPodNetworkConfigs - Throws:
NullPointerException- if any required attribute was not provided
-
-