Class ContainerClusterNodePoolManagement.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.container_cluster.ContainerClusterNodePoolManagement.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ContainerClusterNodePoolManagement>
- Enclosing interface:
- ContainerClusterNodePoolManagement
@Stability(Stable) public static final class ContainerClusterNodePoolManagement.Builder extends Object implements software.amazon.jsii.Builder<ContainerClusterNodePoolManagement>
A builder forContainerClusterNodePoolManagement
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerClusterNodePoolManagement.BuilderautoRepair(com.hashicorp.cdktf.IResolvable autoRepair)Sets the value ofContainerClusterNodePoolManagement.getAutoRepair()ContainerClusterNodePoolManagement.BuilderautoRepair(Boolean autoRepair)Sets the value ofContainerClusterNodePoolManagement.getAutoRepair()ContainerClusterNodePoolManagement.BuilderautoUpgrade(com.hashicorp.cdktf.IResolvable autoUpgrade)Sets the value ofContainerClusterNodePoolManagement.getAutoUpgrade()ContainerClusterNodePoolManagement.BuilderautoUpgrade(Boolean autoUpgrade)Sets the value ofContainerClusterNodePoolManagement.getAutoUpgrade()ContainerClusterNodePoolManagementbuild()Builds the configured instance.
-
-
-
Method Detail
-
autoRepair
@Stability(Stable) public ContainerClusterNodePoolManagement.Builder autoRepair(Boolean autoRepair)
Sets the value ofContainerClusterNodePoolManagement.getAutoRepair()- Parameters:
autoRepair- Whether the nodes will be automatically repaired. Enabled by default. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#auto_repair ContainerCluster#auto_repair}- Returns:
this
-
autoRepair
@Stability(Stable) public ContainerClusterNodePoolManagement.Builder autoRepair(com.hashicorp.cdktf.IResolvable autoRepair)
Sets the value ofContainerClusterNodePoolManagement.getAutoRepair()- Parameters:
autoRepair- Whether the nodes will be automatically repaired. Enabled by default. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#auto_repair ContainerCluster#auto_repair}- Returns:
this
-
autoUpgrade
@Stability(Stable) public ContainerClusterNodePoolManagement.Builder autoUpgrade(Boolean autoUpgrade)
Sets the value ofContainerClusterNodePoolManagement.getAutoUpgrade()- Parameters:
autoUpgrade- Whether the nodes will be automatically upgraded. Enabled by default. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#auto_upgrade ContainerCluster#auto_upgrade}- Returns:
this
-
autoUpgrade
@Stability(Stable) public ContainerClusterNodePoolManagement.Builder autoUpgrade(com.hashicorp.cdktf.IResolvable autoUpgrade)
Sets the value ofContainerClusterNodePoolManagement.getAutoUpgrade()- Parameters:
autoUpgrade- Whether the nodes will be automatically upgraded. Enabled by default. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#auto_upgrade ContainerCluster#auto_upgrade}- Returns:
this
-
build
@Stability(Stable) public ContainerClusterNodePoolManagement build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ContainerClusterNodePoolManagement>- Returns:
- a new instance of
ContainerClusterNodePoolManagement - Throws:
NullPointerException- if any required attribute was not provided
-
-