Class NotebooksInstanceContainerImage.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.notebooks_instance.NotebooksInstanceContainerImage.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<NotebooksInstanceContainerImage>
- Enclosing interface:
- NotebooksInstanceContainerImage
@Stability(Stable) public static final class NotebooksInstanceContainerImage.Builder extends Object implements software.amazon.jsii.Builder<NotebooksInstanceContainerImage>
A builder forNotebooksInstanceContainerImage
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NotebooksInstanceContainerImagebuild()Builds the configured instance.NotebooksInstanceContainerImage.Builderrepository(String repository)Sets the value ofNotebooksInstanceContainerImage.getRepository()NotebooksInstanceContainerImage.Buildertag(String tag)Sets the value ofNotebooksInstanceContainerImage.getTag()
-
-
-
Method Detail
-
repository
@Stability(Stable) public NotebooksInstanceContainerImage.Builder repository(String repository)
Sets the value ofNotebooksInstanceContainerImage.getRepository()- Parameters:
repository- The path to the container image repository. For example: gcr.io/{project_id}/{imageName}. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_instance#repository NotebooksInstance#repository}- Returns:
this
-
tag
@Stability(Stable) public NotebooksInstanceContainerImage.Builder tag(String tag)
Sets the value ofNotebooksInstanceContainerImage.getTag()- Parameters:
tag- The tag of the container image. If not specified, this defaults to the latest tag. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_instance#tag NotebooksInstance#tag}- Returns:
this
-
build
@Stability(Stable) public NotebooksInstanceContainerImage build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NotebooksInstanceContainerImage>- Returns:
- a new instance of
NotebooksInstanceContainerImage - Throws:
NullPointerException- if any required attribute was not provided
-
-