Class NotebooksInstanceVmImage.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.notebooks_instance.NotebooksInstanceVmImage.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<NotebooksInstanceVmImage>
- Enclosing interface:
- NotebooksInstanceVmImage
@Stability(Stable) public static final class NotebooksInstanceVmImage.Builder extends Object implements software.amazon.jsii.Builder<NotebooksInstanceVmImage>
A builder forNotebooksInstanceVmImage
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NotebooksInstanceVmImagebuild()Builds the configured instance.NotebooksInstanceVmImage.BuilderimageFamily(String imageFamily)Sets the value ofNotebooksInstanceVmImage.getImageFamily()NotebooksInstanceVmImage.BuilderimageName(String imageName)Sets the value ofNotebooksInstanceVmImage.getImageName()NotebooksInstanceVmImage.Builderproject(String project)Sets the value ofNotebooksInstanceVmImage.getProject()
-
-
-
Method Detail
-
project
@Stability(Stable) public NotebooksInstanceVmImage.Builder project(String project)
Sets the value ofNotebooksInstanceVmImage.getProject()- Parameters:
project- The name of the Google Cloud project that this VM image belongs to. Format: projects/{project_id}. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_instance#project NotebooksInstance#project}- Returns:
this
-
imageFamily
@Stability(Stable) public NotebooksInstanceVmImage.Builder imageFamily(String imageFamily)
Sets the value ofNotebooksInstanceVmImage.getImageFamily()- Parameters:
imageFamily- 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/notebooks_instance#image_family NotebooksInstance#image_family}- Returns:
this
-
imageName
@Stability(Stable) public NotebooksInstanceVmImage.Builder imageName(String imageName)
Sets the value ofNotebooksInstanceVmImage.getImageName()- Parameters:
imageName- 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/notebooks_instance#image_name NotebooksInstance#image_name}- Returns:
this
-
build
@Stability(Stable) public NotebooksInstanceVmImage build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NotebooksInstanceVmImage>- Returns:
- a new instance of
NotebooksInstanceVmImage - Throws:
NullPointerException- if any required attribute was not provided
-
-