Class DatabricksNotebookActivityTypeProperties


  • public final class DatabricksNotebookActivityTypeProperties
    extends Object
    Databricks Notebook activity properties.
    • Constructor Detail

      • DatabricksNotebookActivityTypeProperties

        public DatabricksNotebookActivityTypeProperties()
    • Method Detail

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

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