Class NotebooksRuntime.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.notebooks_runtime.NotebooksRuntime.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<NotebooksRuntime>
- Enclosing class:
- NotebooksRuntime
@Stability(Stable) public static final class NotebooksRuntime.Builder extends Object implements software.amazon.jsii.Builder<NotebooksRuntime>
A fluent builder forNotebooksRuntime.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NotebooksRuntime.BuilderaccessConfig(NotebooksRuntimeAccessConfig accessConfig)access_config block.NotebooksRuntimebuild()NotebooksRuntime.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)NotebooksRuntime.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)NotebooksRuntime.Buildercount(com.hashicorp.cdktf.TerraformCount count)NotebooksRuntime.Buildercount(Number count)static NotebooksRuntime.Buildercreate(software.constructs.Construct scope, String id)NotebooksRuntime.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)NotebooksRuntime.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)NotebooksRuntime.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_runtime#id NotebooksRuntime#id}.NotebooksRuntime.Builderlabels(Map<String,String> labels)The labels to associate with this runtime.NotebooksRuntime.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)NotebooksRuntime.Builderlocation(String location)A reference to the zone where the machine resides.NotebooksRuntime.Buildername(String name)The name specified for the Notebook runtime.NotebooksRuntime.Builderproject(String project)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_runtime#project NotebooksRuntime#project}.NotebooksRuntime.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)NotebooksRuntime.Builderprovisioners(List<? extends Object> provisioners)NotebooksRuntime.BuildersoftwareConfig(NotebooksRuntimeSoftwareConfig softwareConfig)software_config block.NotebooksRuntime.Buildertimeouts(NotebooksRuntimeTimeouts timeouts)timeouts block.NotebooksRuntime.BuildervirtualMachine(NotebooksRuntimeVirtualMachine virtualMachine)virtual_machine block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static NotebooksRuntime.Builder create(software.constructs.Construct scope, String id)
- Parameters:
scope- The scope in which to define this construct. This parameter is required.id- The scoped construct ID. This parameter is required.- Returns:
- a new instance of
NotebooksRuntime.Builder.
-
connection
@Stability(Experimental) public NotebooksRuntime.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public NotebooksRuntime.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public NotebooksRuntime.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public NotebooksRuntime.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public NotebooksRuntime.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public NotebooksRuntime.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public NotebooksRuntime.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public NotebooksRuntime.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public NotebooksRuntime.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
location
@Stability(Stable) public NotebooksRuntime.Builder location(String location)
A reference to the zone where the machine resides.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_runtime#location NotebooksRuntime#location}
- Parameters:
location- A reference to the zone where the machine resides. This parameter is required.- Returns:
this
-
name
@Stability(Stable) public NotebooksRuntime.Builder name(String name)
The name specified for the Notebook runtime.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_runtime#name NotebooksRuntime#name}
- Parameters:
name- The name specified for the Notebook runtime. This parameter is required.- Returns:
this
-
accessConfig
@Stability(Stable) public NotebooksRuntime.Builder accessConfig(NotebooksRuntimeAccessConfig accessConfig)
access_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_runtime#access_config NotebooksRuntime#access_config}
- Parameters:
accessConfig- access_config block. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public NotebooksRuntime.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_runtime#id NotebooksRuntime#id}.Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_runtime#id NotebooksRuntime#id}. This parameter is required.- Returns:
this
-
labels
@Stability(Stable) public NotebooksRuntime.Builder labels(Map<String,String> labels)
The labels to associate with this runtime.Label **keys** must contain 1 to 63 characters, and must conform to [RFC 1035] (https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_runtime#labels NotebooksRuntime#labels}
- Parameters:
labels- The labels to associate with this runtime. This parameter is required.- Returns:
this
-
project
@Stability(Stable) public NotebooksRuntime.Builder project(String project)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_runtime#project NotebooksRuntime#project}.- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_runtime#project NotebooksRuntime#project}. This parameter is required.- Returns:
this
-
softwareConfig
@Stability(Stable) public NotebooksRuntime.Builder softwareConfig(NotebooksRuntimeSoftwareConfig softwareConfig)
software_config block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_runtime#software_config NotebooksRuntime#software_config}
- Parameters:
softwareConfig- software_config block. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public NotebooksRuntime.Builder timeouts(NotebooksRuntimeTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_runtime#timeouts NotebooksRuntime#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
virtualMachine
@Stability(Stable) public NotebooksRuntime.Builder virtualMachine(NotebooksRuntimeVirtualMachine virtualMachine)
virtual_machine block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/notebooks_runtime#virtual_machine NotebooksRuntime#virtual_machine}
- Parameters:
virtualMachine- virtual_machine block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public NotebooksRuntime build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NotebooksRuntime>- Returns:
- a newly built instance of
NotebooksRuntime.
-
-