Class ContainerAwsNodePoolAutoscaling.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.container_aws_node_pool.ContainerAwsNodePoolAutoscaling.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ContainerAwsNodePoolAutoscaling>
- Enclosing interface:
- ContainerAwsNodePoolAutoscaling
@Stability(Stable) public static final class ContainerAwsNodePoolAutoscaling.Builder extends Object implements software.amazon.jsii.Builder<ContainerAwsNodePoolAutoscaling>
A builder forContainerAwsNodePoolAutoscaling
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerAwsNodePoolAutoscalingbuild()Builds the configured instance.ContainerAwsNodePoolAutoscaling.BuildermaxNodeCount(Number maxNodeCount)Sets the value ofContainerAwsNodePoolAutoscaling.getMaxNodeCount()ContainerAwsNodePoolAutoscaling.BuilderminNodeCount(Number minNodeCount)Sets the value ofContainerAwsNodePoolAutoscaling.getMinNodeCount()
-
-
-
Method Detail
-
maxNodeCount
@Stability(Stable) public ContainerAwsNodePoolAutoscaling.Builder maxNodeCount(Number maxNodeCount)
Sets the value ofContainerAwsNodePoolAutoscaling.getMaxNodeCount()- Parameters:
maxNodeCount- Maximum number of nodes in the NodePool. Must be >= min_node_count. 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_node_count ContainerAwsNodePool#max_node_count}- Returns:
this
-
minNodeCount
@Stability(Stable) public ContainerAwsNodePoolAutoscaling.Builder minNodeCount(Number minNodeCount)
Sets the value ofContainerAwsNodePoolAutoscaling.getMinNodeCount()- Parameters:
minNodeCount- Minimum number of nodes in the NodePool. Must be >= 1 and <= max_node_count. 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#min_node_count ContainerAwsNodePool#min_node_count}- Returns:
this
-
build
@Stability(Stable) public ContainerAwsNodePoolAutoscaling build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ContainerAwsNodePoolAutoscaling>- Returns:
- a new instance of
ContainerAwsNodePoolAutoscaling - Throws:
NullPointerException- if any required attribute was not provided
-
-