Class ContainerNodePoolNodeConfigGuestAccelerator.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.container_node_pool.ContainerNodePoolNodeConfigGuestAccelerator.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ContainerNodePoolNodeConfigGuestAccelerator>
- Enclosing interface:
- ContainerNodePoolNodeConfigGuestAccelerator
@Stability(Stable) public static final class ContainerNodePoolNodeConfigGuestAccelerator.Builder extends Object implements software.amazon.jsii.Builder<ContainerNodePoolNodeConfigGuestAccelerator>
A builder forContainerNodePoolNodeConfigGuestAccelerator
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
count
@Stability(Stable) public ContainerNodePoolNodeConfigGuestAccelerator.Builder count(Number count)
Sets the value ofContainerNodePoolNodeConfigGuestAccelerator.getCount()- Parameters:
count- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_node_pool#count ContainerNodePool#count}.- Returns:
this
-
gpuDriverInstallationConfig
@Stability(Stable) public ContainerNodePoolNodeConfigGuestAccelerator.Builder gpuDriverInstallationConfig(com.hashicorp.cdktf.IResolvable gpuDriverInstallationConfig)
- Parameters:
gpuDriverInstallationConfig- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_node_pool#gpu_driver_installation_config ContainerNodePool#gpu_driver_installation_config}.- Returns:
this
-
gpuDriverInstallationConfig
@Stability(Stable) public ContainerNodePoolNodeConfigGuestAccelerator.Builder gpuDriverInstallationConfig(List<? extends ContainerNodePoolNodeConfigGuestAcceleratorGpuDriverInstallationConfig> gpuDriverInstallationConfig)
- Parameters:
gpuDriverInstallationConfig- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_node_pool#gpu_driver_installation_config ContainerNodePool#gpu_driver_installation_config}.- Returns:
this
-
gpuPartitionSize
@Stability(Stable) public ContainerNodePoolNodeConfigGuestAccelerator.Builder gpuPartitionSize(String gpuPartitionSize)
Sets the value ofContainerNodePoolNodeConfigGuestAccelerator.getGpuPartitionSize()- Parameters:
gpuPartitionSize- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_node_pool#gpu_partition_size ContainerNodePool#gpu_partition_size}.- Returns:
this
-
gpuSharingConfig
@Stability(Stable) public ContainerNodePoolNodeConfigGuestAccelerator.Builder gpuSharingConfig(com.hashicorp.cdktf.IResolvable gpuSharingConfig)
Sets the value ofContainerNodePoolNodeConfigGuestAccelerator.getGpuSharingConfig()- Parameters:
gpuSharingConfig- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_node_pool#gpu_sharing_config ContainerNodePool#gpu_sharing_config}.- Returns:
this
-
gpuSharingConfig
@Stability(Stable) public ContainerNodePoolNodeConfigGuestAccelerator.Builder gpuSharingConfig(List<? extends ContainerNodePoolNodeConfigGuestAcceleratorGpuSharingConfig> gpuSharingConfig)
Sets the value ofContainerNodePoolNodeConfigGuestAccelerator.getGpuSharingConfig()- Parameters:
gpuSharingConfig- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_node_pool#gpu_sharing_config ContainerNodePool#gpu_sharing_config}.- Returns:
this
-
type
@Stability(Stable) public ContainerNodePoolNodeConfigGuestAccelerator.Builder type(String type)
Sets the value ofContainerNodePoolNodeConfigGuestAccelerator.getType()- Parameters:
type- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_node_pool#type ContainerNodePool#type}.- Returns:
this
-
build
@Stability(Stable) public ContainerNodePoolNodeConfigGuestAccelerator build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ContainerNodePoolNodeConfigGuestAccelerator>- Returns:
- a new instance of
ContainerNodePoolNodeConfigGuestAccelerator - Throws:
NullPointerException- if any required attribute was not provided
-
-