Class DataplexTaskConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dataplex_task.DataplexTaskConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataplexTaskConfig>
- Enclosing interface:
- DataplexTaskConfig
@Stability(Stable) public static final class DataplexTaskConfig.Builder extends Object implements software.amazon.jsii.Builder<DataplexTaskConfig>
A builder forDataplexTaskConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataplexTaskConfigbuild()Builds the configured instance.DataplexTaskConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DataplexTaskConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()DataplexTaskConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()DataplexTaskConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()DataplexTaskConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()DataplexTaskConfig.Builderdescription(String description)Sets the value ofDataplexTaskConfig.getDescription()DataplexTaskConfig.BuilderdisplayName(String displayName)Sets the value ofDataplexTaskConfig.getDisplayName()DataplexTaskConfig.BuilderexecutionSpec(DataplexTaskExecutionSpec executionSpec)Sets the value ofDataplexTaskConfig.getExecutionSpec()DataplexTaskConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()DataplexTaskConfig.Builderid(String id)Sets the value ofDataplexTaskConfig.getId()DataplexTaskConfig.Builderlabels(Map<String,String> labels)Sets the value ofDataplexTaskConfig.getLabels()DataplexTaskConfig.Builderlake(String lake)Sets the value ofDataplexTaskConfig.getLake()DataplexTaskConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()DataplexTaskConfig.Builderlocation(String location)Sets the value ofDataplexTaskConfig.getLocation()DataplexTaskConfig.Buildernotebook(DataplexTaskNotebook notebook)Sets the value ofDataplexTaskConfig.getNotebook()DataplexTaskConfig.Builderproject(String project)Sets the value ofDataplexTaskConfig.getProject()DataplexTaskConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()DataplexTaskConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()DataplexTaskConfig.Builderspark(DataplexTaskSpark spark)Sets the value ofDataplexTaskConfig.getSpark()DataplexTaskConfig.BuildertaskId(String taskId)Sets the value ofDataplexTaskConfig.getTaskId()DataplexTaskConfig.Buildertimeouts(DataplexTaskTimeouts timeouts)Sets the value ofDataplexTaskConfig.getTimeouts()DataplexTaskConfig.BuildertriggerSpec(DataplexTaskTriggerSpec triggerSpec)Sets the value ofDataplexTaskConfig.getTriggerSpec()
-
-
-
Method Detail
-
executionSpec
@Stability(Stable) public DataplexTaskConfig.Builder executionSpec(DataplexTaskExecutionSpec executionSpec)
Sets the value ofDataplexTaskConfig.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_task#execution_spec DataplexTask#execution_spec}- Returns:
this
-
triggerSpec
@Stability(Stable) public DataplexTaskConfig.Builder triggerSpec(DataplexTaskTriggerSpec triggerSpec)
Sets the value ofDataplexTaskConfig.getTriggerSpec()- Parameters:
triggerSpec- trigger_spec block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_task#trigger_spec DataplexTask#trigger_spec}- Returns:
this
-
description
@Stability(Stable) public DataplexTaskConfig.Builder description(String description)
Sets the value ofDataplexTaskConfig.getDescription()- Parameters:
description- User-provided description of the task. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_task#description DataplexTask#description}- Returns:
this
-
displayName
@Stability(Stable) public DataplexTaskConfig.Builder displayName(String displayName)
Sets the value ofDataplexTaskConfig.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_task#display_name DataplexTask#display_name}- Returns:
this
-
id
@Stability(Stable) public DataplexTaskConfig.Builder id(String id)
Sets the value ofDataplexTaskConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_task#id DataplexTask#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 DataplexTaskConfig.Builder labels(Map<String,String> labels)
Sets the value ofDataplexTaskConfig.getLabels()- Parameters:
labels- User-defined labels for the task. **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_task#labels DataplexTask#labels}- Returns:
this
-
lake
@Stability(Stable) public DataplexTaskConfig.Builder lake(String lake)
Sets the value ofDataplexTaskConfig.getLake()- Parameters:
lake- The lake in which the task will be created in. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_task#lake DataplexTask#lake}- Returns:
this
-
location
@Stability(Stable) public DataplexTaskConfig.Builder location(String location)
Sets the value ofDataplexTaskConfig.getLocation()- Parameters:
location- The location in which the task will be created in. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_task#location DataplexTask#location}- Returns:
this
-
notebook
@Stability(Stable) public DataplexTaskConfig.Builder notebook(DataplexTaskNotebook notebook)
Sets the value ofDataplexTaskConfig.getNotebook()- Parameters:
notebook- notebook block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_task#notebook DataplexTask#notebook}- Returns:
this
-
project
@Stability(Stable) public DataplexTaskConfig.Builder project(String project)
Sets the value ofDataplexTaskConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_task#project DataplexTask#project}.- Returns:
this
-
spark
@Stability(Stable) public DataplexTaskConfig.Builder spark(DataplexTaskSpark spark)
Sets the value ofDataplexTaskConfig.getSpark()- Parameters:
spark- spark block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_task#spark DataplexTask#spark}- Returns:
this
-
taskId
@Stability(Stable) public DataplexTaskConfig.Builder taskId(String taskId)
Sets the value ofDataplexTaskConfig.getTaskId()- Parameters:
taskId- The task Id of the task. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_task#task_id DataplexTask#task_id}- Returns:
this
-
timeouts
@Stability(Stable) public DataplexTaskConfig.Builder timeouts(DataplexTaskTimeouts timeouts)
Sets the value ofDataplexTaskConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_task#timeouts DataplexTask#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public DataplexTaskConfig.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 DataplexTaskConfig.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 DataplexTaskConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DataplexTaskConfig.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 DataplexTaskConfig.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 DataplexTaskConfig.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 DataplexTaskConfig.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 DataplexTaskConfig.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 DataplexTaskConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public DataplexTaskConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataplexTaskConfig>- Returns:
- a new instance of
DataplexTaskConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-