Class DatabricksSparkPythonActivityTypeProperties
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.fluent.models.DatabricksSparkPythonActivityTypeProperties
-
public final class DatabricksSparkPythonActivityTypeProperties extends Object
Databricks SparkPython activity properties.
-
-
Constructor Summary
Constructors Constructor Description DatabricksSparkPythonActivityTypeProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Map<String,Object>>
libraries()
Get the libraries property: A list of libraries to be installed on the cluster that will execute the job.List<Object>
parameters()
Get the parameters property: Command line parameters that will be passed to the Python file.Object
pythonFile()
Get the pythonFile property: The URI of the Python file to be executed.void
validate()
Validates the instance.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.DatabricksSparkPythonActivityTypeProperties
withParameters(List<Object> parameters)
Set the parameters property: Command line parameters that will be passed to the Python file.DatabricksSparkPythonActivityTypeProperties
withPythonFile(Object pythonFile)
Set the pythonFile property: The URI of the Python file to be executed.
-
-
-
Method Detail
-
pythonFile
public Object 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
public DatabricksSparkPythonActivityTypeProperties withPythonFile(Object pythonFile)
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
public List<Object> parameters()
Get the parameters property: Command line parameters that will be passed to the Python file.- Returns:
- the parameters value.
-
withParameters
public DatabricksSparkPythonActivityTypeProperties withParameters(List<Object> parameters)
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
public List<Map<String,Object>> 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.
-
-