Class ContainerAwsNodePoolMaxPodsConstraint.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.container_aws_node_pool.ContainerAwsNodePoolMaxPodsConstraint.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ContainerAwsNodePoolMaxPodsConstraint>
- Enclosing interface:
- ContainerAwsNodePoolMaxPodsConstraint
@Stability(Stable) public static final class ContainerAwsNodePoolMaxPodsConstraint.Builder extends Object implements software.amazon.jsii.Builder<ContainerAwsNodePoolMaxPodsConstraint>
A builder forContainerAwsNodePoolMaxPodsConstraint
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerAwsNodePoolMaxPodsConstraintbuild()Builds the configured instance.ContainerAwsNodePoolMaxPodsConstraint.BuildermaxPodsPerNode(Number maxPodsPerNode)Sets the value ofContainerAwsNodePoolMaxPodsConstraint.getMaxPodsPerNode()
-
-
-
Method Detail
-
maxPodsPerNode
@Stability(Stable) public ContainerAwsNodePoolMaxPodsConstraint.Builder maxPodsPerNode(Number maxPodsPerNode)
Sets the value ofContainerAwsNodePoolMaxPodsConstraint.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_aws_node_pool#max_pods_per_node ContainerAwsNodePool#max_pods_per_node}- Returns:
this
-
build
@Stability(Stable) public ContainerAwsNodePoolMaxPodsConstraint build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ContainerAwsNodePoolMaxPodsConstraint>- Returns:
- a new instance of
ContainerAwsNodePoolMaxPodsConstraint - Throws:
NullPointerException- if any required attribute was not provided
-
-