Class WorkbenchInstanceGceSetupVmImage.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.workbench_instance.WorkbenchInstanceGceSetupVmImage.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<WorkbenchInstanceGceSetupVmImage>
- Enclosing interface:
- WorkbenchInstanceGceSetupVmImage
@Stability(Stable) public static final class WorkbenchInstanceGceSetupVmImage.Builder extends Object implements software.amazon.jsii.Builder<WorkbenchInstanceGceSetupVmImage>
A builder forWorkbenchInstanceGceSetupVmImage
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkbenchInstanceGceSetupVmImagebuild()Builds the configured instance.WorkbenchInstanceGceSetupVmImage.Builderfamily(String family)Sets the value ofWorkbenchInstanceGceSetupVmImage.getFamily()WorkbenchInstanceGceSetupVmImage.Buildername(String name)Sets the value ofWorkbenchInstanceGceSetupVmImage.getName()WorkbenchInstanceGceSetupVmImage.Builderproject(String project)Sets the value ofWorkbenchInstanceGceSetupVmImage.getProject()
-
-
-
Method Detail
-
family
@Stability(Stable) public WorkbenchInstanceGceSetupVmImage.Builder family(String family)
Sets the value ofWorkbenchInstanceGceSetupVmImage.getFamily()- Parameters:
family- Optional. Use this VM image family to find the image; the newest image in this family will be used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/workbench_instance#family WorkbenchInstance#family}- Returns:
this
-
name
@Stability(Stable) public WorkbenchInstanceGceSetupVmImage.Builder name(String name)
Sets the value ofWorkbenchInstanceGceSetupVmImage.getName()- Parameters:
name- Optional. Use VM image name to find the image. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/workbench_instance#name WorkbenchInstance#name}- Returns:
this
-
project
@Stability(Stable) public WorkbenchInstanceGceSetupVmImage.Builder project(String project)
Sets the value ofWorkbenchInstanceGceSetupVmImage.getProject()- Parameters:
project- The name of the Google Cloud project that this VM image belongs to. Format: {project_id}. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/workbench_instance#project WorkbenchInstance#project}- Returns:
this
-
build
@Stability(Stable) public WorkbenchInstanceGceSetupVmImage build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<WorkbenchInstanceGceSetupVmImage>- Returns:
- a new instance of
WorkbenchInstanceGceSetupVmImage - Throws:
NullPointerException- if any required attribute was not provided
-
-