Class ContainerAzureNodePoolMaxPodsConstraint.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.container_azure_node_pool.ContainerAzureNodePoolMaxPodsConstraint.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ContainerAzureNodePoolMaxPodsConstraint>
- Enclosing interface:
- ContainerAzureNodePoolMaxPodsConstraint
@Stability(Stable) public static final class ContainerAzureNodePoolMaxPodsConstraint.Builder extends Object implements software.amazon.jsii.Builder<ContainerAzureNodePoolMaxPodsConstraint>
A builder forContainerAzureNodePoolMaxPodsConstraint
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerAzureNodePoolMaxPodsConstraintbuild()Builds the configured instance.ContainerAzureNodePoolMaxPodsConstraint.BuildermaxPodsPerNode(Number maxPodsPerNode)Sets the value ofContainerAzureNodePoolMaxPodsConstraint.getMaxPodsPerNode()
-
-
-
Method Detail
-
maxPodsPerNode
@Stability(Stable) public ContainerAzureNodePoolMaxPodsConstraint.Builder maxPodsPerNode(Number maxPodsPerNode)
Sets the value ofContainerAzureNodePoolMaxPodsConstraint.getMaxPodsPerNode()- Parameters:
maxPodsPerNode- The maximum number of pods to schedule on a single node. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_azure_node_pool#max_pods_per_node ContainerAzureNodePool#max_pods_per_node}- Returns:
this
-
build
@Stability(Stable) public ContainerAzureNodePoolMaxPodsConstraint build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ContainerAzureNodePoolMaxPodsConstraint>- Returns:
- a new instance of
ContainerAzureNodePoolMaxPodsConstraint - Throws:
NullPointerException- if any required attribute was not provided
-
-