Class NotebooksEnvironmentContainerImage.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.notebooks_environment.NotebooksEnvironmentContainerImage.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<NotebooksEnvironmentContainerImage>
- Enclosing interface:
- NotebooksEnvironmentContainerImage
@Stability(Stable) public static final class NotebooksEnvironmentContainerImage.Builder extends Object implements software.amazon.jsii.Builder<NotebooksEnvironmentContainerImage>
A builder forNotebooksEnvironmentContainerImage
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NotebooksEnvironmentContainerImagebuild()Builds the configured instance.NotebooksEnvironmentContainerImage.Builderrepository(String repository)Sets the value ofNotebooksEnvironmentContainerImage.getRepository()NotebooksEnvironmentContainerImage.Buildertag(String tag)Sets the value ofNotebooksEnvironmentContainerImage.getTag()
-
-
-
Method Detail
-
repository
@Stability(Stable) public NotebooksEnvironmentContainerImage.Builder repository(String repository)
Sets the value ofNotebooksEnvironmentContainerImage.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_environment#repository NotebooksEnvironment#repository}- Returns:
this
-
tag
@Stability(Stable) public NotebooksEnvironmentContainerImage.Builder tag(String tag)
Sets the value ofNotebooksEnvironmentContainerImage.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_environment#tag NotebooksEnvironment#tag}- Returns:
this
-
build
@Stability(Stable) public NotebooksEnvironmentContainerImage build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NotebooksEnvironmentContainerImage>- Returns:
- a new instance of
NotebooksEnvironmentContainerImage - Throws:
NullPointerException- if any required attribute was not provided
-
-