Class DatabricksSparkJarActivity
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.Activity
-
- com.azure.resourcemanager.datafactory.models.ExecutionActivity
-
- com.azure.resourcemanager.datafactory.models.DatabricksSparkJarActivity
-
public final class DatabricksSparkJarActivity extends ExecutionActivity
DatabricksSparkJar activity.
-
-
Constructor Summary
Constructors Constructor Description DatabricksSparkJarActivity()
-
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.ObjectmainClassName()Get the mainClassName property: The full name of the class containing the main method to be executed.List<Object>parameters()Get the parameters property: Parameters that will be passed to the main method.voidvalidate()Validates the instance.DatabricksSparkJarActivitywithDependsOn(List<ActivityDependency> dependsOn)Set the dependsOn property: Activity depends on condition.DatabricksSparkJarActivitywithDescription(String description)Set the description property: Activity description.DatabricksSparkJarActivitywithLibraries(List<Map<String,Object>> libraries)Set the libraries property: A list of libraries to be installed on the cluster that will execute the job.DatabricksSparkJarActivitywithLinkedServiceName(LinkedServiceReference linkedServiceName)Set the linkedServiceName property: Linked service reference.DatabricksSparkJarActivitywithMainClassName(Object mainClassName)Set the mainClassName property: The full name of the class containing the main method to be executed.DatabricksSparkJarActivitywithName(String name)Set the name property: Activity name.DatabricksSparkJarActivitywithParameters(List<Object> parameters)Set the parameters property: Parameters that will be passed to the main method.DatabricksSparkJarActivitywithPolicy(ActivityPolicy policy)Set the policy property: Activity policy.DatabricksSparkJarActivitywithUserProperties(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 DatabricksSparkJarActivity 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 DatabricksSparkJarActivity 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 DatabricksSparkJarActivity 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 DatabricksSparkJarActivity 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 DatabricksSparkJarActivity 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 DatabricksSparkJarActivity 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.
-
mainClassName
public Object mainClassName()
Get the mainClassName property: The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. Type: string (or Expression with resultType string).- Returns:
- the mainClassName value.
-
withMainClassName
public DatabricksSparkJarActivity withMainClassName(Object mainClassName)
Set the mainClassName property: The full name of the class containing the main method to be executed. This class must be contained in a JAR provided as a library. Type: string (or Expression with resultType string).- Parameters:
mainClassName- the mainClassName value to set.- Returns:
- the DatabricksSparkJarActivity object itself.
-
parameters
public List<Object> parameters()
Get the parameters property: Parameters that will be passed to the main method.- Returns:
- the parameters value.
-
withParameters
public DatabricksSparkJarActivity withParameters(List<Object> parameters)
Set the parameters property: Parameters that will be passed to the main method.- Parameters:
parameters- the parameters value to set.- Returns:
- the DatabricksSparkJarActivity 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 DatabricksSparkJarActivity 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 DatabricksSparkJarActivity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classExecutionActivity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-