Class DataplexDatascanConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dataplex_datascan.DataplexDatascanConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataplexDatascanConfig>
- Enclosing interface:
- DataplexDatascanConfig
@Stability(Stable) public static final class DataplexDatascanConfig.Builder extends Object implements software.amazon.jsii.Builder<DataplexDatascanConfig>
A builder forDataplexDatascanConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
data
@Stability(Stable) public DataplexDatascanConfig.Builder data(DataplexDatascanData data)
Sets the value ofDataplexDatascanConfig.getData()- Parameters:
data- data block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_datascan#data DataplexDatascan#data}- Returns:
this
-
dataScanId
@Stability(Stable) public DataplexDatascanConfig.Builder dataScanId(String dataScanId)
Sets the value ofDataplexDatascanConfig.getDataScanId()- Parameters:
dataScanId- DataScan identifier. This parameter is required. Must contain only lowercase letters, numbers and hyphens. Must start with a letter. Must end with a number or a letter. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_datascan#data_scan_id DataplexDatascan#data_scan_id}- Returns:
this
-
executionSpec
@Stability(Stable) public DataplexDatascanConfig.Builder executionSpec(DataplexDatascanExecutionSpec executionSpec)
Sets the value ofDataplexDatascanConfig.getExecutionSpec()- Parameters:
executionSpec- execution_spec block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_datascan#execution_spec DataplexDatascan#execution_spec}- Returns:
this
-
location
@Stability(Stable) public DataplexDatascanConfig.Builder location(String location)
Sets the value ofDataplexDatascanConfig.getLocation()- Parameters:
location- The location where the data scan should reside. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_datascan#location DataplexDatascan#location}- Returns:
this
-
dataProfileSpec
@Stability(Stable) public DataplexDatascanConfig.Builder dataProfileSpec(DataplexDatascanDataProfileSpec dataProfileSpec)
Sets the value ofDataplexDatascanConfig.getDataProfileSpec()- Parameters:
dataProfileSpec- data_profile_spec block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_datascan#data_profile_spec DataplexDatascan#data_profile_spec}- Returns:
this
-
dataQualitySpec
@Stability(Stable) public DataplexDatascanConfig.Builder dataQualitySpec(DataplexDatascanDataQualitySpec dataQualitySpec)
Sets the value ofDataplexDatascanConfig.getDataQualitySpec()- Parameters:
dataQualitySpec- data_quality_spec block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_datascan#data_quality_spec DataplexDatascan#data_quality_spec}- Returns:
this
-
description
@Stability(Stable) public DataplexDatascanConfig.Builder description(String description)
Sets the value ofDataplexDatascanConfig.getDescription()- Parameters:
description- Description of the scan. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_datascan#description DataplexDatascan#description}- Returns:
this
-
displayName
@Stability(Stable) public DataplexDatascanConfig.Builder displayName(String displayName)
Sets the value ofDataplexDatascanConfig.getDisplayName()- Parameters:
displayName- User friendly display name. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_datascan#display_name DataplexDatascan#display_name}- Returns:
this
-
id
@Stability(Stable) public DataplexDatascanConfig.Builder id(String id)
Sets the value ofDataplexDatascanConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_datascan#id DataplexDatascan#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 DataplexDatascanConfig.Builder labels(Map<String,String> labels)
Sets the value ofDataplexDatascanConfig.getLabels()- Parameters:
labels- User-defined labels for the scan. A list of key->value pairs. **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_datascan#labels DataplexDatascan#labels}- Returns:
this
-
project
@Stability(Stable) public DataplexDatascanConfig.Builder project(String project)
Sets the value ofDataplexDatascanConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_datascan#project DataplexDatascan#project}.- Returns:
this
-
timeouts
@Stability(Stable) public DataplexDatascanConfig.Builder timeouts(DataplexDatascanTimeouts timeouts)
Sets the value ofDataplexDatascanConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_datascan#timeouts DataplexDatascan#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public DataplexDatascanConfig.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 DataplexDatascanConfig.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 DataplexDatascanConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DataplexDatascanConfig.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 DataplexDatascanConfig.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 DataplexDatascanConfig.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 DataplexDatascanConfig.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 DataplexDatascanConfig.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 DataplexDatascanConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public DataplexDatascanConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataplexDatascanConfig>- Returns:
- a new instance of
DataplexDatascanConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-