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