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