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