public final class DatabricksSparkPythonActivityTypeProperties extends Object
| Constructor and Description |
|---|
DatabricksSparkPythonActivityTypeProperties() |
| Modifier and Type | Method and 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.
|
public DatabricksSparkPythonActivityTypeProperties()
public Object pythonFile()
public DatabricksSparkPythonActivityTypeProperties withPythonFile(Object pythonFile)
pythonFile - the pythonFile value to set.public List<Object> parameters()
public DatabricksSparkPythonActivityTypeProperties withParameters(List<Object> parameters)
parameters - the parameters value to set.public List<Map<String,Object>> libraries()
public DatabricksSparkPythonActivityTypeProperties withLibraries(List<Map<String,Object>> libraries)
libraries - the libraries value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.