Class ContainerClusterNodePoolNodeConfigTaint.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.container_cluster.ContainerClusterNodePoolNodeConfigTaint.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ContainerClusterNodePoolNodeConfigTaint>
- Enclosing interface:
- ContainerClusterNodePoolNodeConfigTaint
@Stability(Stable) public static final class ContainerClusterNodePoolNodeConfigTaint.Builder extends Object implements software.amazon.jsii.Builder<ContainerClusterNodePoolNodeConfigTaint>
A builder forContainerClusterNodePoolNodeConfigTaint
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerClusterNodePoolNodeConfigTaintbuild()Builds the configured instance.ContainerClusterNodePoolNodeConfigTaint.Buildereffect(String effect)Sets the value ofContainerClusterNodePoolNodeConfigTaint.getEffect()ContainerClusterNodePoolNodeConfigTaint.Builderkey(String key)Sets the value ofContainerClusterNodePoolNodeConfigTaint.getKey()ContainerClusterNodePoolNodeConfigTaint.Buildervalue(String value)Sets the value ofContainerClusterNodePoolNodeConfigTaint.getValue()
-
-
-
Method Detail
-
effect
@Stability(Stable) public ContainerClusterNodePoolNodeConfigTaint.Builder effect(String effect)
Sets the value ofContainerClusterNodePoolNodeConfigTaint.getEffect()- Parameters:
effect- Effect for taint. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#effect ContainerCluster#effect}- Returns:
this
-
key
@Stability(Stable) public ContainerClusterNodePoolNodeConfigTaint.Builder key(String key)
Sets the value ofContainerClusterNodePoolNodeConfigTaint.getKey()- Parameters:
key- Key for taint. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#key ContainerCluster#key}- Returns:
this
-
value
@Stability(Stable) public ContainerClusterNodePoolNodeConfigTaint.Builder value(String value)
Sets the value ofContainerClusterNodePoolNodeConfigTaint.getValue()- Parameters:
value- Value for taint. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#value ContainerCluster#value}- Returns:
this
-
build
@Stability(Stable) public ContainerClusterNodePoolNodeConfigTaint build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ContainerClusterNodePoolNodeConfigTaint>- Returns:
- a new instance of
ContainerClusterNodePoolNodeConfigTaint - Throws:
NullPointerException- if any required attribute was not provided
-
-