public class DatabricksSparkPythonActivity extends ExecutionActivity
| Constructor and Description |
|---|
DatabricksSparkPythonActivity() |
| 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.
|
DatabricksSparkPythonActivity |
withDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.
|
DatabricksSparkPythonActivity |
withDescription(String description)
Set the description property: Activity description.
|
DatabricksSparkPythonActivity |
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.
|
DatabricksSparkPythonActivity |
withLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linkedServiceName property: Linked service reference.
|
DatabricksSparkPythonActivity |
withName(String name)
Set the name property: Activity name.
|
DatabricksSparkPythonActivity |
withParameters(List<Object> parameters)
Set the parameters property: Command line parameters that will be passed to the Python file.
|
DatabricksSparkPythonActivity |
withPolicy(ActivityPolicy policy)
Set the policy property: Activity policy.
|
DatabricksSparkPythonActivity |
withPythonFile(Object pythonFile)
Set the pythonFile property: The URI of the Python file to be executed.
|
DatabricksSparkPythonActivity |
withUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.
|
linkedServiceName, policyadditionalProperties, dependsOn, description, name, userProperties, withAdditionalPropertiespublic Object pythonFile()
public DatabricksSparkPythonActivity withPythonFile(Object pythonFile)
pythonFile - the pythonFile value to set.public List<Object> parameters()
public DatabricksSparkPythonActivity withParameters(List<Object> parameters)
parameters - the parameters value to set.public List<Map<String,Object>> libraries()
public DatabricksSparkPythonActivity withLibraries(List<Map<String,Object>> libraries)
libraries - the libraries value to set.public DatabricksSparkPythonActivity withLinkedServiceName(LinkedServiceReference linkedServiceName)
withLinkedServiceName in class ExecutionActivitylinkedServiceName - the linkedServiceName value to set.public DatabricksSparkPythonActivity withPolicy(ActivityPolicy policy)
withPolicy in class ExecutionActivitypolicy - the policy value to set.public DatabricksSparkPythonActivity withName(String name)
withName in class ExecutionActivityname - the name value to set.public DatabricksSparkPythonActivity withDescription(String description)
withDescription in class ExecutionActivitydescription - the description value to set.public DatabricksSparkPythonActivity withDependsOn(List<ActivityDependency> dependsOn)
withDependsOn in class ExecutionActivitydependsOn - the dependsOn value to set.public DatabricksSparkPythonActivity withUserProperties(List<UserProperty> userProperties)
withUserProperties in class ExecutionActivityuserProperties - the userProperties value to set.public void validate()
validate in class ExecutionActivityIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.