Class DatabricksSparkPythonActivityTypeProperties

java.lang.Object
com.azure.resourcemanager.datafactory.fluent.models.DatabricksSparkPythonActivityTypeProperties

public final class DatabricksSparkPythonActivityTypeProperties extends Object
Databricks SparkPython activity properties.
  • Constructor Details

    • DatabricksSparkPythonActivityTypeProperties

      public DatabricksSparkPythonActivityTypeProperties()
  • Method Details

    • pythonFile

      public Object pythonFile()
      Get the pythonFile property: The URI of the Python file to be executed. DBFS paths are supported. Type: string (or Expression with resultType string).
      Returns:
      the pythonFile value.
    • withPythonFile

      public DatabricksSparkPythonActivityTypeProperties withPythonFile(Object pythonFile)
      Set the pythonFile property: The URI of the Python file to be executed. DBFS paths are supported. Type: string (or Expression with resultType string).
      Parameters:
      pythonFile - the pythonFile value to set.
      Returns:
      the DatabricksSparkPythonActivityTypeProperties object itself.
    • parameters

      public List<Object> parameters()
      Get the parameters property: Command line parameters that will be passed to the Python file.
      Returns:
      the parameters value.
    • withParameters

      public DatabricksSparkPythonActivityTypeProperties withParameters(List<Object> parameters)
      Set the parameters property: Command line parameters that will be passed to the Python file.
      Parameters:
      parameters - the parameters value to set.
      Returns:
      the DatabricksSparkPythonActivityTypeProperties 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

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

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