Class DataplexLakeConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dataplex_lake.DataplexLakeConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataplexLakeConfig>
- Enclosing interface:
- DataplexLakeConfig
@Stability(Stable) public static final class DataplexLakeConfig.Builder extends Object implements software.amazon.jsii.Builder<DataplexLakeConfig>
A builder forDataplexLakeConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataplexLakeConfigbuild()Builds the configured instance.DataplexLakeConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DataplexLakeConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DataplexLakeConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()DataplexLakeConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()DataplexLakeConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()DataplexLakeConfig.Builderdescription(String description)Sets the value ofDataplexLakeConfig.getDescription()DataplexLakeConfig.BuilderdisplayName(String displayName)Sets the value ofDataplexLakeConfig.getDisplayName()DataplexLakeConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()DataplexLakeConfig.Builderid(String id)Sets the value ofDataplexLakeConfig.getId()DataplexLakeConfig.Builderlabels(Map<String,String> labels)Sets the value ofDataplexLakeConfig.getLabels()DataplexLakeConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()DataplexLakeConfig.Builderlocation(String location)Sets the value ofDataplexLakeConfig.getLocation()DataplexLakeConfig.Buildermetastore(DataplexLakeMetastore metastore)Sets the value ofDataplexLakeConfig.getMetastore()DataplexLakeConfig.Buildername(String name)Sets the value ofDataplexLakeConfig.getName()DataplexLakeConfig.Builderproject(String project)Sets the value ofDataplexLakeConfig.getProject()DataplexLakeConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()DataplexLakeConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()DataplexLakeConfig.Buildertimeouts(DataplexLakeTimeouts timeouts)Sets the value ofDataplexLakeConfig.getTimeouts()
-
-
-
Method Detail
-
location
@Stability(Stable) public DataplexLakeConfig.Builder location(String location)
Sets the value ofDataplexLakeConfig.getLocation()- Parameters:
location- The location for the resource. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_lake#location DataplexLake#location}- Returns:
this
-
name
@Stability(Stable) public DataplexLakeConfig.Builder name(String name)
Sets the value ofDataplexLakeConfig.getName()- Parameters:
name- The name of the lake. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_lake#name DataplexLake#name}- Returns:
this
-
description
@Stability(Stable) public DataplexLakeConfig.Builder description(String description)
Sets the value ofDataplexLakeConfig.getDescription()- Parameters:
description- Optional. Description of the lake. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_lake#description DataplexLake#description}- Returns:
this
-
displayName
@Stability(Stable) public DataplexLakeConfig.Builder displayName(String displayName)
Sets the value ofDataplexLakeConfig.getDisplayName()- Parameters:
displayName- Optional. User friendly display name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_lake#display_name DataplexLake#display_name}- Returns:
this
-
id
@Stability(Stable) public DataplexLakeConfig.Builder id(String id)
Sets the value ofDataplexLakeConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_lake#id DataplexLake#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.- Returns:
this
-
labels
@Stability(Stable) public DataplexLakeConfig.Builder labels(Map<String,String> labels)
Sets the value ofDataplexLakeConfig.getLabels()- Parameters:
labels- Optional. User-defined labels for the lake. **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/dataplex_lake#labels DataplexLake#labels}- Returns:
this
-
metastore
@Stability(Stable) public DataplexLakeConfig.Builder metastore(DataplexLakeMetastore metastore)
Sets the value ofDataplexLakeConfig.getMetastore()- Parameters:
metastore- metastore block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_lake#metastore DataplexLake#metastore}- Returns:
this
-
project
@Stability(Stable) public DataplexLakeConfig.Builder project(String project)
Sets the value ofDataplexLakeConfig.getProject()- Parameters:
project- The project for the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_lake#project DataplexLake#project}- Returns:
this
-
timeouts
@Stability(Stable) public DataplexLakeConfig.Builder timeouts(DataplexLakeTimeouts timeouts)
Sets the value ofDataplexLakeConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_lake#timeouts DataplexLake#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public DataplexLakeConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public DataplexLakeConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DataplexLakeConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DataplexLakeConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public DataplexLakeConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public DataplexLakeConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public DataplexLakeConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public DataplexLakeConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public DataplexLakeConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public DataplexLakeConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataplexLakeConfig>- Returns:
- a new instance of
DataplexLakeConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-