Class DatabricksSparkPythonActivityTypeProperties
java.lang.Object
com.azure.resourcemanager.datafactory.fluent.models.DatabricksSparkPythonActivityTypeProperties
Databricks SparkPython activity properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the libraries property: A list of libraries to be installed on the cluster that will execute the job.Get the parameters property: Command line parameters that will be passed to the Python file.Get the pythonFile property: The URI of the Python file to be executed.void
validate()
Validates the instance.withLibraries
(List<Map<String, Object>> libraries) Set the libraries property: A list of libraries to be installed on the cluster that will execute the job.withParameters
(List<Object> parameters) Set the parameters property: Command line parameters that will be passed to the Python file.withPythonFile
(Object pythonFile) Set the pythonFile property: The URI of the Python file to be executed.
-
Constructor Details
-
DatabricksSparkPythonActivityTypeProperties
public DatabricksSparkPythonActivityTypeProperties()
-
-
Method Details
-
pythonFile
Get the pythonFile property: The URI of the Python file to be executed. DBFS paths are supported. Type: string (or Expression with resultType string).- Returns:
- the pythonFile value.
-
withPythonFile
Set the pythonFile property: The URI of the Python file to be executed. DBFS paths are supported. Type: string (or Expression with resultType string).- Parameters:
pythonFile
- the pythonFile value to set.- Returns:
- the DatabricksSparkPythonActivityTypeProperties object itself.
-
parameters
Get the parameters property: Command line parameters that will be passed to the Python file.- Returns:
- the parameters value.
-
withParameters
Set the parameters property: Command line parameters that will be passed to the Python file.- Parameters:
parameters
- the parameters value to set.- Returns:
- the DatabricksSparkPythonActivityTypeProperties object itself.
-
libraries
Get the libraries property: A list of libraries to be installed on the cluster that will execute the job.- Returns:
- the libraries value.
-
withLibraries
public DatabricksSparkPythonActivityTypeProperties withLibraries(List<Map<String, Object>> libraries) Set the libraries property: A list of libraries to be installed on the cluster that will execute the job.- Parameters:
libraries
- the libraries value to set.- Returns:
- the DatabricksSparkPythonActivityTypeProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-