Class DatabricksSparkJarActivityTypeProperties
java.lang.Object
com.azure.resourcemanager.datafactory.fluent.models.DatabricksSparkJarActivityTypeProperties
Databricks SparkJar activity properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the libraries property: A list of libraries to be installed on the cluster that will execute the job.Get the mainClassName property: The full name of the class containing the main method to be executed.Get the parameters property: Parameters that will be passed to the main method.void
validate()
Validates the instance.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.withMainClassName
(Object mainClassName) Set the mainClassName property: The full name of the class containing the main method to be executed.withParameters
(List<Object> parameters) Set the parameters property: Parameters that will be passed to the main method.
-
Constructor Details
-
DatabricksSparkJarActivityTypeProperties
public DatabricksSparkJarActivityTypeProperties()
-
-
Method Details
-
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
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 DatabricksSparkJarActivityTypeProperties object itself.
-
parameters
Get the parameters property: Parameters that will be passed to the main method.- Returns:
- the parameters value.
-
withParameters
Set the parameters property: Parameters that will be passed to the main method.- Parameters:
parameters
- the parameters value to set.- Returns:
- the DatabricksSparkJarActivityTypeProperties object itself.
-
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
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 DatabricksSparkJarActivityTypeProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-