Class NotebooksRuntimeAccessConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.notebooks_runtime.NotebooksRuntimeAccessConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<NotebooksRuntimeAccessConfig>
- Enclosing interface:
- NotebooksRuntimeAccessConfig
@Stability(Stable) public static final class NotebooksRuntimeAccessConfig.Builder extends Object implements software.amazon.jsii.Builder<NotebooksRuntimeAccessConfig>
A builder forNotebooksRuntimeAccessConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NotebooksRuntimeAccessConfig.BuilderaccessType(String accessType)Sets the value ofNotebooksRuntimeAccessConfig.getAccessType()NotebooksRuntimeAccessConfigbuild()Builds the configured instance.NotebooksRuntimeAccessConfig.BuilderruntimeOwner(String runtimeOwner)Sets the value ofNotebooksRuntimeAccessConfig.getRuntimeOwner()
-
-
-
Method Detail
-
accessType
@Stability(Stable) public NotebooksRuntimeAccessConfig.Builder accessType(String accessType)
Sets the value ofNotebooksRuntimeAccessConfig.getAccessType()- Parameters:
accessType- The type of access mode this instance. For valid values, see 'https://cloud.google.com/vertex-ai/docs/workbench/reference/ rest/v1/projects.locations.runtimes#RuntimeAccessType'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_runtime#access_type NotebooksRuntime#access_type}- Returns:
this
-
runtimeOwner
@Stability(Stable) public NotebooksRuntimeAccessConfig.Builder runtimeOwner(String runtimeOwner)
Sets the value ofNotebooksRuntimeAccessConfig.getRuntimeOwner()- Parameters:
runtimeOwner- The owner of this runtime after creation. Format: 'alias@example.com'. Currently supports one owner only. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_runtime#runtime_owner NotebooksRuntime#runtime_owner}- Returns:
this
-
build
@Stability(Stable) public NotebooksRuntimeAccessConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NotebooksRuntimeAccessConfig>- Returns:
- a new instance of
NotebooksRuntimeAccessConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-