Class ContainerClusterNodeConfigGuestAcceleratorGpuSharingConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.container_cluster.ContainerClusterNodeConfigGuestAcceleratorGpuSharingConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ContainerClusterNodeConfigGuestAcceleratorGpuSharingConfig>
- Enclosing interface:
- ContainerClusterNodeConfigGuestAcceleratorGpuSharingConfig
@Stability(Stable) public static final class ContainerClusterNodeConfigGuestAcceleratorGpuSharingConfig.Builder extends Object implements software.amazon.jsii.Builder<ContainerClusterNodeConfigGuestAcceleratorGpuSharingConfig>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerClusterNodeConfigGuestAcceleratorGpuSharingConfigbuild()Builds the configured instance.ContainerClusterNodeConfigGuestAcceleratorGpuSharingConfig.BuildergpuSharingStrategy(String gpuSharingStrategy)ContainerClusterNodeConfigGuestAcceleratorGpuSharingConfig.BuildermaxSharedClientsPerGpu(Number maxSharedClientsPerGpu)
-
-
-
Method Detail
-
gpuSharingStrategy
@Stability(Stable) public ContainerClusterNodeConfigGuestAcceleratorGpuSharingConfig.Builder gpuSharingStrategy(String gpuSharingStrategy)
Sets the value ofContainerClusterNodeConfigGuestAcceleratorGpuSharingConfig.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 ContainerClusterNodeConfigGuestAcceleratorGpuSharingConfig.Builder maxSharedClientsPerGpu(Number maxSharedClientsPerGpu)
Sets the value ofContainerClusterNodeConfigGuestAcceleratorGpuSharingConfig.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 ContainerClusterNodeConfigGuestAcceleratorGpuSharingConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ContainerClusterNodeConfigGuestAcceleratorGpuSharingConfig>- Returns:
- a new instance of
ContainerClusterNodeConfigGuestAcceleratorGpuSharingConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-