Class DataplexTaskSpark.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dataplex_task.DataplexTaskSpark.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataplexTaskSpark>
- Enclosing interface:
- DataplexTaskSpark
@Stability(Stable) public static final class DataplexTaskSpark.Builder extends Object implements software.amazon.jsii.Builder<DataplexTaskSpark>
A builder forDataplexTaskSpark
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
archiveUris
@Stability(Stable) public DataplexTaskSpark.Builder archiveUris(List<String> archiveUris)
Sets the value ofDataplexTaskSpark.getArchiveUris()- Parameters:
archiveUris- Cloud Storage URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_task#archive_uris DataplexTask#archive_uris}- Returns:
this
-
fileUris
@Stability(Stable) public DataplexTaskSpark.Builder fileUris(List<String> fileUris)
Sets the value ofDataplexTaskSpark.getFileUris()- Parameters:
fileUris- Cloud Storage URIs of files to be placed in the working directory of each executor. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_task#file_uris DataplexTask#file_uris}- Returns:
this
-
infrastructureSpec
@Stability(Stable) public DataplexTaskSpark.Builder infrastructureSpec(DataplexTaskSparkInfrastructureSpec infrastructureSpec)
Sets the value ofDataplexTaskSpark.getInfrastructureSpec()- Parameters:
infrastructureSpec- infrastructure_spec block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_task#infrastructure_spec DataplexTask#infrastructure_spec}- Returns:
this
-
mainClass
@Stability(Stable) public DataplexTaskSpark.Builder mainClass(String mainClass)
Sets the value ofDataplexTaskSpark.getMainClass()- Parameters:
mainClass- The name of the driver's main class. The jar file that contains the class must be in the default CLASSPATH or specified in jar_file_uris. The execution args are passed in as a sequence of named process arguments (--key=value). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_task#main_class DataplexTask#main_class}- Returns:
this
-
mainJarFileUri
@Stability(Stable) public DataplexTaskSpark.Builder mainJarFileUri(String mainJarFileUri)
Sets the value ofDataplexTaskSpark.getMainJarFileUri()- Parameters:
mainJarFileUri- The Cloud Storage URI of the jar file that contains the main class. The execution args are passed in as a sequence of named process arguments (--key=value). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_task#main_jar_file_uri DataplexTask#main_jar_file_uri}- Returns:
this
-
pythonScriptFile
@Stability(Stable) public DataplexTaskSpark.Builder pythonScriptFile(String pythonScriptFile)
Sets the value ofDataplexTaskSpark.getPythonScriptFile()- Parameters:
pythonScriptFile- The Gcloud Storage URI of the main Python file to use as the driver. Must be a .py file. The execution args are passed in as a sequence of named process arguments (--key=value). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_task#python_script_file DataplexTask#python_script_file}- Returns:
this
-
sqlScript
@Stability(Stable) public DataplexTaskSpark.Builder sqlScript(String sqlScript)
Sets the value ofDataplexTaskSpark.getSqlScript()- Parameters:
sqlScript- The query text. The execution args are used to declare a set of script variables (set key='value';). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_task#sql_script DataplexTask#sql_script}- Returns:
this
-
sqlScriptFile
@Stability(Stable) public DataplexTaskSpark.Builder sqlScriptFile(String sqlScriptFile)
Sets the value ofDataplexTaskSpark.getSqlScriptFile()- Parameters:
sqlScriptFile- A reference to a query file. This can be the Cloud Storage URI of the query file or it can the path to a SqlScript Content. The execution args are used to declare a set of script variables (set key='value';). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_task#sql_script_file DataplexTask#sql_script_file}- Returns:
this
-
build
@Stability(Stable) public DataplexTaskSpark build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataplexTaskSpark>- Returns:
- a new instance of
DataplexTaskSpark - Throws:
NullPointerException- if any required attribute was not provided
-
-