Class ContainerAwsNodePoolConfigTaints.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.container_aws_node_pool.ContainerAwsNodePoolConfigTaints.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ContainerAwsNodePoolConfigTaints>
- Enclosing interface:
- ContainerAwsNodePoolConfigTaints
@Stability(Stable) public static final class ContainerAwsNodePoolConfigTaints.Builder extends Object implements software.amazon.jsii.Builder<ContainerAwsNodePoolConfigTaints>
A builder forContainerAwsNodePoolConfigTaints
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerAwsNodePoolConfigTaintsbuild()Builds the configured instance.ContainerAwsNodePoolConfigTaints.Buildereffect(String effect)Sets the value ofContainerAwsNodePoolConfigTaints.getEffect()ContainerAwsNodePoolConfigTaints.Builderkey(String key)Sets the value ofContainerAwsNodePoolConfigTaints.getKey()ContainerAwsNodePoolConfigTaints.Buildervalue(String value)Sets the value ofContainerAwsNodePoolConfigTaints.getValue()
-
-
-
Method Detail
-
effect
@Stability(Stable) public ContainerAwsNodePoolConfigTaints.Builder effect(String effect)
Sets the value ofContainerAwsNodePoolConfigTaints.getEffect()- Parameters:
effect- The taint effect. Possible values: EFFECT_UNSPECIFIED, NO_SCHEDULE, PREFER_NO_SCHEDULE, NO_EXECUTE. 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#effect ContainerAwsNodePool#effect}- Returns:
this
-
key
@Stability(Stable) public ContainerAwsNodePoolConfigTaints.Builder key(String key)
Sets the value ofContainerAwsNodePoolConfigTaints.getKey()- Parameters:
key- Key for the taint. 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#key ContainerAwsNodePool#key}- Returns:
this
-
value
@Stability(Stable) public ContainerAwsNodePoolConfigTaints.Builder value(String value)
Sets the value ofContainerAwsNodePoolConfigTaints.getValue()- Parameters:
value- Value for the taint. 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#value ContainerAwsNodePool#value}- Returns:
this
-
build
@Stability(Stable) public ContainerAwsNodePoolConfigTaints build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ContainerAwsNodePoolConfigTaints>- Returns:
- a new instance of
ContainerAwsNodePoolConfigTaints - Throws:
NullPointerException- if any required attribute was not provided
-
-