public class DatabricksNotebookActivity extends ExecutionActivity
| Constructor and Description |
|---|
DatabricksNotebookActivity() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
baseParameters()
Get the baseParameters property: Base parameters to be used for each run of this job.If the notebook takes a
parameter that is not specified, the default value from the notebook will be used.
|
List<Map<String,Object>> |
libraries()
Get the libraries property: A list of libraries to be installed on the cluster that will execute the job.
|
Object |
notebookPath()
Get the notebookPath property: The absolute path of the notebook to be run in the Databricks Workspace.
|
void |
validate()
Validates the instance.
|
DatabricksNotebookActivity |
withBaseParameters(Map<String,Object> baseParameters)
Set the baseParameters property: Base parameters to be used for each run of this job.If the notebook takes a
parameter that is not specified, the default value from the notebook will be used.
|
DatabricksNotebookActivity |
withDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.
|
DatabricksNotebookActivity |
withDescription(String description)
Set the description property: Activity description.
|
DatabricksNotebookActivity |
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.
|
DatabricksNotebookActivity |
withLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linkedServiceName property: Linked service reference.
|
DatabricksNotebookActivity |
withName(String name)
Set the name property: Activity name.
|
DatabricksNotebookActivity |
withNotebookPath(Object notebookPath)
Set the notebookPath property: The absolute path of the notebook to be run in the Databricks Workspace.
|
DatabricksNotebookActivity |
withPolicy(ActivityPolicy policy)
Set the policy property: Activity policy.
|
DatabricksNotebookActivity |
withUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.
|
linkedServiceName, policyadditionalProperties, dependsOn, description, name, userProperties, withAdditionalPropertiespublic Object notebookPath()
public DatabricksNotebookActivity withNotebookPath(Object notebookPath)
notebookPath - the notebookPath value to set.public Map<String,Object> baseParameters()
public DatabricksNotebookActivity withBaseParameters(Map<String,Object> baseParameters)
baseParameters - the baseParameters value to set.public List<Map<String,Object>> libraries()
public DatabricksNotebookActivity withLibraries(List<Map<String,Object>> libraries)
libraries - the libraries value to set.public DatabricksNotebookActivity withLinkedServiceName(LinkedServiceReference linkedServiceName)
withLinkedServiceName in class ExecutionActivitylinkedServiceName - the linkedServiceName value to set.public DatabricksNotebookActivity withPolicy(ActivityPolicy policy)
withPolicy in class ExecutionActivitypolicy - the policy value to set.public DatabricksNotebookActivity withName(String name)
withName in class ExecutionActivityname - the name value to set.public DatabricksNotebookActivity withDescription(String description)
withDescription in class ExecutionActivitydescription - the description value to set.public DatabricksNotebookActivity withDependsOn(List<ActivityDependency> dependsOn)
withDependsOn in class ExecutionActivitydependsOn - the dependsOn value to set.public DatabricksNotebookActivity 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.