Class ContainerNodePoolNodeConfigSoleTenantConfigNodeAffinity.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.container_node_pool.ContainerNodePoolNodeConfigSoleTenantConfigNodeAffinity.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ContainerNodePoolNodeConfigSoleTenantConfigNodeAffinity>
- Enclosing interface:
- ContainerNodePoolNodeConfigSoleTenantConfigNodeAffinity
@Stability(Stable) public static final class ContainerNodePoolNodeConfigSoleTenantConfigNodeAffinity.Builder extends Object implements software.amazon.jsii.Builder<ContainerNodePoolNodeConfigSoleTenantConfigNodeAffinity>
A builder forContainerNodePoolNodeConfigSoleTenantConfigNodeAffinity
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerNodePoolNodeConfigSoleTenantConfigNodeAffinitybuild()Builds the configured instance.ContainerNodePoolNodeConfigSoleTenantConfigNodeAffinity.Builderkey(String key)Sets the value ofContainerNodePoolNodeConfigSoleTenantConfigNodeAffinity.getKey()ContainerNodePoolNodeConfigSoleTenantConfigNodeAffinity.Builderoperator(String operator)Sets the value ofContainerNodePoolNodeConfigSoleTenantConfigNodeAffinity.getOperator()ContainerNodePoolNodeConfigSoleTenantConfigNodeAffinity.Buildervalues(List<String> values)Sets the value ofContainerNodePoolNodeConfigSoleTenantConfigNodeAffinity.getValues()
-
-
-
Method Detail
-
key
@Stability(Stable) public ContainerNodePoolNodeConfigSoleTenantConfigNodeAffinity.Builder key(String key)
Sets the value ofContainerNodePoolNodeConfigSoleTenantConfigNodeAffinity.getKey()- Parameters:
key- . 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
-
operator
@Stability(Stable) public ContainerNodePoolNodeConfigSoleTenantConfigNodeAffinity.Builder operator(String operator)
Sets the value ofContainerNodePoolNodeConfigSoleTenantConfigNodeAffinity.getOperator()- Parameters:
operator- . This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_node_pool#operator ContainerNodePool#operator}- Returns:
this
-
values
@Stability(Stable) public ContainerNodePoolNodeConfigSoleTenantConfigNodeAffinity.Builder values(List<String> values)
Sets the value ofContainerNodePoolNodeConfigSoleTenantConfigNodeAffinity.getValues()- Parameters:
values- . This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_node_pool#values ContainerNodePool#values}- Returns:
this
-
build
@Stability(Stable) public ContainerNodePoolNodeConfigSoleTenantConfigNodeAffinity build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ContainerNodePoolNodeConfigSoleTenantConfigNodeAffinity>- Returns:
- a new instance of
ContainerNodePoolNodeConfigSoleTenantConfigNodeAffinity - Throws:
NullPointerException- if any required attribute was not provided
-
-