Class WorkbenchInstanceGceSetupAcceleratorConfigs.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.workbench_instance.WorkbenchInstanceGceSetupAcceleratorConfigs.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<WorkbenchInstanceGceSetupAcceleratorConfigs>
- Enclosing interface:
- WorkbenchInstanceGceSetupAcceleratorConfigs
@Stability(Stable) public static final class WorkbenchInstanceGceSetupAcceleratorConfigs.Builder extends Object implements software.amazon.jsii.Builder<WorkbenchInstanceGceSetupAcceleratorConfigs>
A builder forWorkbenchInstanceGceSetupAcceleratorConfigs
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkbenchInstanceGceSetupAcceleratorConfigsbuild()Builds the configured instance.WorkbenchInstanceGceSetupAcceleratorConfigs.BuildercoreCount(String coreCount)Sets the value ofWorkbenchInstanceGceSetupAcceleratorConfigs.getCoreCount()WorkbenchInstanceGceSetupAcceleratorConfigs.Buildertype(String type)Sets the value ofWorkbenchInstanceGceSetupAcceleratorConfigs.getType()
-
-
-
Method Detail
-
coreCount
@Stability(Stable) public WorkbenchInstanceGceSetupAcceleratorConfigs.Builder coreCount(String coreCount)
Sets the value ofWorkbenchInstanceGceSetupAcceleratorConfigs.getCoreCount()- Parameters:
coreCount- Optional. Count of cores of this accelerator. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/workbench_instance#core_count WorkbenchInstance#core_count}- Returns:
this
-
type
@Stability(Stable) public WorkbenchInstanceGceSetupAcceleratorConfigs.Builder type(String type)
Sets the value ofWorkbenchInstanceGceSetupAcceleratorConfigs.getType()- Parameters:
type- Optional. Type of this accelerator. Possible values: ["NVIDIA_TESLA_P100", "NVIDIA_TESLA_V100", "NVIDIA_TESLA_P4", "NVIDIA_TESLA_T4", "NVIDIA_TESLA_A100", "NVIDIA_A100_80GB", "NVIDIA_L4", "NVIDIA_TESLA_T4_VWS", "NVIDIA_TESLA_P100_VWS", "NVIDIA_TESLA_P4_VWS"]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/workbench_instance#type WorkbenchInstance#type}- Returns:
this
-
build
@Stability(Stable) public WorkbenchInstanceGceSetupAcceleratorConfigs build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<WorkbenchInstanceGceSetupAcceleratorConfigs>- Returns:
- a new instance of
WorkbenchInstanceGceSetupAcceleratorConfigs - Throws:
NullPointerException- if any required attribute was not provided
-
-