Class ContainerClusterNodeConfigSoleTenantConfigNodeAffinity.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.container_cluster.ContainerClusterNodeConfigSoleTenantConfigNodeAffinity.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ContainerClusterNodeConfigSoleTenantConfigNodeAffinity>
- Enclosing interface:
- ContainerClusterNodeConfigSoleTenantConfigNodeAffinity
@Stability(Stable) public static final class ContainerClusterNodeConfigSoleTenantConfigNodeAffinity.Builder extends Object implements software.amazon.jsii.Builder<ContainerClusterNodeConfigSoleTenantConfigNodeAffinity>
A builder forContainerClusterNodeConfigSoleTenantConfigNodeAffinity
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerClusterNodeConfigSoleTenantConfigNodeAffinitybuild()Builds the configured instance.ContainerClusterNodeConfigSoleTenantConfigNodeAffinity.Builderkey(String key)Sets the value ofContainerClusterNodeConfigSoleTenantConfigNodeAffinity.getKey()ContainerClusterNodeConfigSoleTenantConfigNodeAffinity.Builderoperator(String operator)Sets the value ofContainerClusterNodeConfigSoleTenantConfigNodeAffinity.getOperator()ContainerClusterNodeConfigSoleTenantConfigNodeAffinity.Buildervalues(List<String> values)Sets the value ofContainerClusterNodeConfigSoleTenantConfigNodeAffinity.getValues()
-
-
-
Method Detail
-
key
@Stability(Stable) public ContainerClusterNodeConfigSoleTenantConfigNodeAffinity.Builder key(String key)
Sets the value ofContainerClusterNodeConfigSoleTenantConfigNodeAffinity.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 ContainerClusterNodeConfigSoleTenantConfigNodeAffinity.Builder operator(String operator)
Sets the value ofContainerClusterNodeConfigSoleTenantConfigNodeAffinity.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_cluster#operator ContainerCluster#operator}- Returns:
this
-
values
@Stability(Stable) public ContainerClusterNodeConfigSoleTenantConfigNodeAffinity.Builder values(List<String> values)
Sets the value ofContainerClusterNodeConfigSoleTenantConfigNodeAffinity.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_cluster#values ContainerCluster#values}- Returns:
this
-
build
@Stability(Stable) public ContainerClusterNodeConfigSoleTenantConfigNodeAffinity build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ContainerClusterNodeConfigSoleTenantConfigNodeAffinity>- Returns:
- a new instance of
ContainerClusterNodeConfigSoleTenantConfigNodeAffinity - Throws:
NullPointerException- if any required attribute was not provided
-
-