Class GkeonpremBareMetalClusterNodeConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.gkeonprem_bare_metal_cluster.GkeonpremBareMetalClusterNodeConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<GkeonpremBareMetalClusterNodeConfig>
- Enclosing interface:
- GkeonpremBareMetalClusterNodeConfig
@Stability(Stable) public static final class GkeonpremBareMetalClusterNodeConfig.Builder extends Object implements software.amazon.jsii.Builder<GkeonpremBareMetalClusterNodeConfig>
A builder forGkeonpremBareMetalClusterNodeConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GkeonpremBareMetalClusterNodeConfigbuild()Builds the configured instance.GkeonpremBareMetalClusterNodeConfig.BuildercontainerRuntime(String containerRuntime)Sets the value ofGkeonpremBareMetalClusterNodeConfig.getContainerRuntime()GkeonpremBareMetalClusterNodeConfig.BuildermaxPodsPerNode(Number maxPodsPerNode)Sets the value ofGkeonpremBareMetalClusterNodeConfig.getMaxPodsPerNode()
-
-
-
Method Detail
-
containerRuntime
@Stability(Stable) public GkeonpremBareMetalClusterNodeConfig.Builder containerRuntime(String containerRuntime)
Sets the value ofGkeonpremBareMetalClusterNodeConfig.getContainerRuntime()- Parameters:
containerRuntime- The available runtimes that can be used to run containers in a Bare Metal User Cluster. Possible values: ["CONTAINER_RUNTIME_UNSPECIFIED", "DOCKER", "CONTAINERD"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gkeonprem_bare_metal_cluster#container_runtime GkeonpremBareMetalCluster#container_runtime}- Returns:
this
-
maxPodsPerNode
@Stability(Stable) public GkeonpremBareMetalClusterNodeConfig.Builder maxPodsPerNode(Number maxPodsPerNode)
Sets the value ofGkeonpremBareMetalClusterNodeConfig.getMaxPodsPerNode()- Parameters:
maxPodsPerNode- The maximum number of pods a node can run. The size of the CIDR range assigned to the node will be derived from this parameter. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/gkeonprem_bare_metal_cluster#max_pods_per_node GkeonpremBareMetalCluster#max_pods_per_node}- Returns:
this
-
build
@Stability(Stable) public GkeonpremBareMetalClusterNodeConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GkeonpremBareMetalClusterNodeConfig>- Returns:
- a new instance of
GkeonpremBareMetalClusterNodeConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-