Class ContainerNodePoolNodeConfigGuestAcceleratorGpuSharingConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.container_node_pool.ContainerNodePoolNodeConfigGuestAcceleratorGpuSharingConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ContainerNodePoolNodeConfigGuestAcceleratorGpuSharingConfig>
- Enclosing interface:
- ContainerNodePoolNodeConfigGuestAcceleratorGpuSharingConfig
@Stability(Stable) public static final class ContainerNodePoolNodeConfigGuestAcceleratorGpuSharingConfig.Builder extends Object implements software.amazon.jsii.Builder<ContainerNodePoolNodeConfigGuestAcceleratorGpuSharingConfig>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerNodePoolNodeConfigGuestAcceleratorGpuSharingConfigbuild()Builds the configured instance.ContainerNodePoolNodeConfigGuestAcceleratorGpuSharingConfig.BuildergpuSharingStrategy(String gpuSharingStrategy)ContainerNodePoolNodeConfigGuestAcceleratorGpuSharingConfig.BuildermaxSharedClientsPerGpu(Number maxSharedClientsPerGpu)
-
-
-
Method Detail
-
gpuSharingStrategy
@Stability(Stable) public ContainerNodePoolNodeConfigGuestAcceleratorGpuSharingConfig.Builder gpuSharingStrategy(String gpuSharingStrategy)
Sets the value ofContainerNodePoolNodeConfigGuestAcceleratorGpuSharingConfig.getGpuSharingStrategy()- Parameters:
gpuSharingStrategy- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_node_pool#gpu_sharing_strategy ContainerNodePool#gpu_sharing_strategy}.- Returns:
this
-
maxSharedClientsPerGpu
@Stability(Stable) public ContainerNodePoolNodeConfigGuestAcceleratorGpuSharingConfig.Builder maxSharedClientsPerGpu(Number maxSharedClientsPerGpu)
Sets the value ofContainerNodePoolNodeConfigGuestAcceleratorGpuSharingConfig.getMaxSharedClientsPerGpu()- Parameters:
maxSharedClientsPerGpu- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/container_node_pool#max_shared_clients_per_gpu ContainerNodePool#max_shared_clients_per_gpu}.- Returns:
this
-
build
@Stability(Stable) public ContainerNodePoolNodeConfigGuestAcceleratorGpuSharingConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ContainerNodePoolNodeConfigGuestAcceleratorGpuSharingConfig>- Returns:
- a new instance of
ContainerNodePoolNodeConfigGuestAcceleratorGpuSharingConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-