Class DataplexTaskSpark.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • archiveUris

        @Stability(Stable)
        public DataplexTaskSpark.Builder archiveUris​(List<String> archiveUris)
        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)
        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
      • mainClass

        @Stability(Stable)
        public DataplexTaskSpark.Builder mainClass​(String mainClass)
        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)
        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)
        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)
        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)
        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