Class NotebooksEnvironmentVmImage.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.notebooks_environment.NotebooksEnvironmentVmImage.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<NotebooksEnvironmentVmImage>
- Enclosing interface:
- NotebooksEnvironmentVmImage
@Stability(Stable) public static final class NotebooksEnvironmentVmImage.Builder extends Object implements software.amazon.jsii.Builder<NotebooksEnvironmentVmImage>
A builder forNotebooksEnvironmentVmImage
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NotebooksEnvironmentVmImagebuild()Builds the configured instance.NotebooksEnvironmentVmImage.BuilderimageFamily(String imageFamily)Sets the value ofNotebooksEnvironmentVmImage.getImageFamily()NotebooksEnvironmentVmImage.BuilderimageName(String imageName)Sets the value ofNotebooksEnvironmentVmImage.getImageName()NotebooksEnvironmentVmImage.Builderproject(String project)Sets the value ofNotebooksEnvironmentVmImage.getProject()
-
-
-
Method Detail
-
project
@Stability(Stable) public NotebooksEnvironmentVmImage.Builder project(String project)
Sets the value ofNotebooksEnvironmentVmImage.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_environment#project NotebooksEnvironment#project}- Returns:
this
-
imageFamily
@Stability(Stable) public NotebooksEnvironmentVmImage.Builder imageFamily(String imageFamily)
Sets the value ofNotebooksEnvironmentVmImage.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_environment#image_family NotebooksEnvironment#image_family}- Returns:
this
-
imageName
@Stability(Stable) public NotebooksEnvironmentVmImage.Builder imageName(String imageName)
Sets the value ofNotebooksEnvironmentVmImage.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_environment#image_name NotebooksEnvironment#image_name}- Returns:
this
-
build
@Stability(Stable) public NotebooksEnvironmentVmImage build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NotebooksEnvironmentVmImage>- Returns:
- a new instance of
NotebooksEnvironmentVmImage - Throws:
NullPointerException- if any required attribute was not provided
-
-