Class ContainerNodePoolNodeConfigTaint.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.container_node_pool.ContainerNodePoolNodeConfigTaint.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ContainerNodePoolNodeConfigTaint>
- Enclosing interface:
- ContainerNodePoolNodeConfigTaint
@Stability(Stable) public static final class ContainerNodePoolNodeConfigTaint.Builder extends Object implements software.amazon.jsii.Builder<ContainerNodePoolNodeConfigTaint>
A builder forContainerNodePoolNodeConfigTaint
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerNodePoolNodeConfigTaintbuild()Builds the configured instance.ContainerNodePoolNodeConfigTaint.Buildereffect(String effect)Sets the value ofContainerNodePoolNodeConfigTaint.getEffect()ContainerNodePoolNodeConfigTaint.Builderkey(String key)Sets the value ofContainerNodePoolNodeConfigTaint.getKey()ContainerNodePoolNodeConfigTaint.Buildervalue(String value)Sets the value ofContainerNodePoolNodeConfigTaint.getValue()
-
-
-
Method Detail
-
effect
@Stability(Stable) public ContainerNodePoolNodeConfigTaint.Builder effect(String effect)
Sets the value ofContainerNodePoolNodeConfigTaint.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_node_pool#effect ContainerNodePool#effect}- Returns:
this
-
key
@Stability(Stable) public ContainerNodePoolNodeConfigTaint.Builder key(String key)
Sets the value ofContainerNodePoolNodeConfigTaint.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_node_pool#key ContainerNodePool#key}- Returns:
this
-
value
@Stability(Stable) public ContainerNodePoolNodeConfigTaint.Builder value(String value)
Sets the value ofContainerNodePoolNodeConfigTaint.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_node_pool#value ContainerNodePool#value}- Returns:
this
-
build
@Stability(Stable) public ContainerNodePoolNodeConfigTaint build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ContainerNodePoolNodeConfigTaint>- Returns:
- a new instance of
ContainerNodePoolNodeConfigTaint - Throws:
NullPointerException- if any required attribute was not provided
-
-