Class ContainerClusterNodePoolNodeConfigSoleTenantConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.container_cluster.ContainerClusterNodePoolNodeConfigSoleTenantConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ContainerClusterNodePoolNodeConfigSoleTenantConfig>
- Enclosing interface:
- ContainerClusterNodePoolNodeConfigSoleTenantConfig
@Stability(Stable) public static final class ContainerClusterNodePoolNodeConfigSoleTenantConfig.Builder extends Object implements software.amazon.jsii.Builder<ContainerClusterNodePoolNodeConfigSoleTenantConfig>
A builder forContainerClusterNodePoolNodeConfigSoleTenantConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerClusterNodePoolNodeConfigSoleTenantConfigbuild()Builds the configured instance.ContainerClusterNodePoolNodeConfigSoleTenantConfig.BuildernodeAffinity(com.hashicorp.cdktf.IResolvable nodeAffinity)Sets the value ofContainerClusterNodePoolNodeConfigSoleTenantConfig.getNodeAffinity()ContainerClusterNodePoolNodeConfigSoleTenantConfig.BuildernodeAffinity(List<? extends ContainerClusterNodePoolNodeConfigSoleTenantConfigNodeAffinity> nodeAffinity)Sets the value ofContainerClusterNodePoolNodeConfigSoleTenantConfig.getNodeAffinity()
-
-
-
Method Detail
-
nodeAffinity
@Stability(Stable) public ContainerClusterNodePoolNodeConfigSoleTenantConfig.Builder nodeAffinity(com.hashicorp.cdktf.IResolvable nodeAffinity)
Sets the value ofContainerClusterNodePoolNodeConfigSoleTenantConfig.getNodeAffinity()- Parameters:
nodeAffinity- node_affinity block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#node_affinity ContainerCluster#node_affinity}- Returns:
this
-
nodeAffinity
@Stability(Stable) public ContainerClusterNodePoolNodeConfigSoleTenantConfig.Builder nodeAffinity(List<? extends ContainerClusterNodePoolNodeConfigSoleTenantConfigNodeAffinity> nodeAffinity)
Sets the value ofContainerClusterNodePoolNodeConfigSoleTenantConfig.getNodeAffinity()- Parameters:
nodeAffinity- node_affinity block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_cluster#node_affinity ContainerCluster#node_affinity}- Returns:
this
-
build
@Stability(Stable) public ContainerClusterNodePoolNodeConfigSoleTenantConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ContainerClusterNodePoolNodeConfigSoleTenantConfig>- Returns:
- a new instance of
ContainerClusterNodePoolNodeConfigSoleTenantConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-