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