Class DatabricksNotebookActivity
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.Activity
-
- com.azure.resourcemanager.datafactory.models.ExecutionActivity
-
- com.azure.resourcemanager.datafactory.models.DatabricksNotebookActivity
-
public final class DatabricksNotebookActivity extends ExecutionActivity
DatabricksNotebook activity.
-
-
Constructor Summary
Constructors Constructor Description DatabricksNotebookActivity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.ObjectnotebookPath()Get the notebookPath property: The absolute path of the notebook to be run in the Databricks Workspace.voidvalidate()Validates the instance.DatabricksNotebookActivitywithBaseParameters(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.DatabricksNotebookActivitywithDependsOn(List<ActivityDependency> dependsOn)Set the dependsOn property: Activity depends on condition.DatabricksNotebookActivitywithDescription(String description)Set the description property: Activity description.DatabricksNotebookActivitywithLibraries(List<Map<String,Object>> libraries)Set the libraries property: A list of libraries to be installed on the cluster that will execute the job.DatabricksNotebookActivitywithLinkedServiceName(LinkedServiceReference linkedServiceName)Set the linkedServiceName property: Linked service reference.DatabricksNotebookActivitywithName(String name)Set the name property: Activity name.DatabricksNotebookActivitywithNotebookPath(Object notebookPath)Set the notebookPath property: The absolute path of the notebook to be run in the Databricks Workspace.DatabricksNotebookActivitywithPolicy(ActivityPolicy policy)Set the policy property: Activity policy.DatabricksNotebookActivitywithUserProperties(List<UserProperty> userProperties)Set the userProperties property: Activity user properties.-
Methods inherited from class com.azure.resourcemanager.datafactory.models.ExecutionActivity
linkedServiceName, policy
-
Methods inherited from class com.azure.resourcemanager.datafactory.models.Activity
additionalProperties, dependsOn, description, name, userProperties, withAdditionalProperties
-
-
-
-
Method Detail
-
withLinkedServiceName
public DatabricksNotebookActivity withLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linkedServiceName property: Linked service reference.- Overrides:
withLinkedServiceNamein classExecutionActivity- Parameters:
linkedServiceName- the linkedServiceName value to set.- Returns:
- the ExecutionActivity object itself.
-
withPolicy
public DatabricksNotebookActivity withPolicy(ActivityPolicy policy)
Set the policy property: Activity policy.- Overrides:
withPolicyin classExecutionActivity- Parameters:
policy- the policy value to set.- Returns:
- the ExecutionActivity object itself.
-
withName
public DatabricksNotebookActivity withName(String name)
Set the name property: Activity name.- Overrides:
withNamein classExecutionActivity- Parameters:
name- the name value to set.- Returns:
- the Activity object itself.
-
withDescription
public DatabricksNotebookActivity withDescription(String description)
Set the description property: Activity description.- Overrides:
withDescriptionin classExecutionActivity- Parameters:
description- the description value to set.- Returns:
- the Activity object itself.
-
withDependsOn
public DatabricksNotebookActivity withDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.- Overrides:
withDependsOnin classExecutionActivity- Parameters:
dependsOn- the dependsOn value to set.- Returns:
- the Activity object itself.
-
withUserProperties
public DatabricksNotebookActivity withUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.- Overrides:
withUserPropertiesin classExecutionActivity- Parameters:
userProperties- the userProperties value to set.- Returns:
- the Activity object itself.
-
notebookPath
public Object notebookPath()
Get the notebookPath property: The absolute path of the notebook to be run in the Databricks Workspace. This path must begin with a slash. Type: string (or Expression with resultType string).- Returns:
- the notebookPath value.
-
withNotebookPath
public DatabricksNotebookActivity withNotebookPath(Object notebookPath)
Set the notebookPath property: The absolute path of the notebook to be run in the Databricks Workspace. This path must begin with a slash. Type: string (or Expression with resultType string).- Parameters:
notebookPath- the notebookPath value to set.- Returns:
- the DatabricksNotebookActivity object itself.
-
baseParameters
public 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.- Returns:
- the baseParameters value.
-
withBaseParameters
public 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.- Parameters:
baseParameters- the baseParameters value to set.- Returns:
- the DatabricksNotebookActivity 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 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.- Parameters:
libraries- the libraries value to set.- Returns:
- the DatabricksNotebookActivity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classExecutionActivity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-