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