Class ContainerNodePoolNodeConfigAdvancedMachineFeatures.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.container_node_pool.ContainerNodePoolNodeConfigAdvancedMachineFeatures.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ContainerNodePoolNodeConfigAdvancedMachineFeatures>
- Enclosing interface:
- ContainerNodePoolNodeConfigAdvancedMachineFeatures
@Stability(Stable) public static final class ContainerNodePoolNodeConfigAdvancedMachineFeatures.Builder extends Object implements software.amazon.jsii.Builder<ContainerNodePoolNodeConfigAdvancedMachineFeatures>
A builder forContainerNodePoolNodeConfigAdvancedMachineFeatures
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerNodePoolNodeConfigAdvancedMachineFeaturesbuild()Builds the configured instance.ContainerNodePoolNodeConfigAdvancedMachineFeatures.BuilderenableNestedVirtualization(com.hashicorp.cdktf.IResolvable enableNestedVirtualization)ContainerNodePoolNodeConfigAdvancedMachineFeatures.BuilderenableNestedVirtualization(Boolean enableNestedVirtualization)ContainerNodePoolNodeConfigAdvancedMachineFeatures.BuilderthreadsPerCore(Number threadsPerCore)Sets the value ofContainerNodePoolNodeConfigAdvancedMachineFeatures.getThreadsPerCore()
-
-
-
Method Detail
-
threadsPerCore
@Stability(Stable) public ContainerNodePoolNodeConfigAdvancedMachineFeatures.Builder threadsPerCore(Number threadsPerCore)
Sets the value ofContainerNodePoolNodeConfigAdvancedMachineFeatures.getThreadsPerCore()- Parameters:
threadsPerCore- The number of threads per physical core. This parameter is required. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_node_pool#threads_per_core ContainerNodePool#threads_per_core}- Returns:
this
-
enableNestedVirtualization
@Stability(Stable) public ContainerNodePoolNodeConfigAdvancedMachineFeatures.Builder enableNestedVirtualization(Boolean enableNestedVirtualization)
Sets the value ofContainerNodePoolNodeConfigAdvancedMachineFeatures.getEnableNestedVirtualization()- Parameters:
enableNestedVirtualization- Whether the node should have nested virtualization enabled. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_node_pool#enable_nested_virtualization ContainerNodePool#enable_nested_virtualization}- Returns:
this
-
enableNestedVirtualization
@Stability(Stable) public ContainerNodePoolNodeConfigAdvancedMachineFeatures.Builder enableNestedVirtualization(com.hashicorp.cdktf.IResolvable enableNestedVirtualization)
Sets the value ofContainerNodePoolNodeConfigAdvancedMachineFeatures.getEnableNestedVirtualization()- Parameters:
enableNestedVirtualization- Whether the node should have nested virtualization enabled. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_node_pool#enable_nested_virtualization ContainerNodePool#enable_nested_virtualization}- Returns:
this
-
build
@Stability(Stable) public ContainerNodePoolNodeConfigAdvancedMachineFeatures build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ContainerNodePoolNodeConfigAdvancedMachineFeatures>- Returns:
- a new instance of
ContainerNodePoolNodeConfigAdvancedMachineFeatures - Throws:
NullPointerException- if any required attribute was not provided
-
-