Class DatabricksSparkJarActivityTypeProperties


  • public final class DatabricksSparkJarActivityTypeProperties
    extends Object
    Databricks SparkJar activity properties.
    • Constructor Detail

      • DatabricksSparkJarActivityTypeProperties

        public DatabricksSparkJarActivityTypeProperties()
    • Method Detail

      • 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 DatabricksSparkJarActivityTypeProperties 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 DatabricksSparkJarActivityTypeProperties 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 DatabricksSparkJarActivityTypeProperties 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 DatabricksSparkJarActivityTypeProperties 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 DatabricksSparkJarActivityTypeProperties 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 DatabricksSparkJarActivityTypeProperties object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.