Class SynapseNotebookActivityTypeProperties

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

public final class SynapseNotebookActivityTypeProperties extends Object
Execute Synapse notebook activity properties.
  • Constructor Details

    • SynapseNotebookActivityTypeProperties

      public SynapseNotebookActivityTypeProperties()
  • Method Details

    • notebook

      public SynapseNotebookReference notebook()
      Get the notebook property: Synapse notebook reference.
      Returns:
      the notebook value.
    • withNotebook

      Set the notebook property: Synapse notebook reference.
      Parameters:
      notebook - the notebook value to set.
      Returns:
      the SynapseNotebookActivityTypeProperties object itself.
    • sparkPool

      Get the sparkPool property: The name of the big data pool which will be used to execute the notebook.
      Returns:
      the sparkPool value.
    • withSparkPool

      Set the sparkPool property: The name of the big data pool which will be used to execute the notebook.
      Parameters:
      sparkPool - the sparkPool value to set.
      Returns:
      the SynapseNotebookActivityTypeProperties object itself.
    • parameters

      public Map<String,NotebookParameter> parameters()
      Get the parameters property: Notebook parameters.
      Returns:
      the parameters value.
    • withParameters

      Set the parameters property: Notebook parameters.
      Parameters:
      parameters - the parameters value to set.
      Returns:
      the SynapseNotebookActivityTypeProperties object itself.
    • executorSize

      public Object executorSize()
      Get the executorSize property: Number of core and memory to be used for executors allocated in the specified Spark pool for the session, which will be used for overriding 'executorCores' and 'executorMemory' of the notebook you provide. Type: string (or Expression with resultType string).
      Returns:
      the executorSize value.
    • withExecutorSize

      public SynapseNotebookActivityTypeProperties withExecutorSize(Object executorSize)
      Set the executorSize property: Number of core and memory to be used for executors allocated in the specified Spark pool for the session, which will be used for overriding 'executorCores' and 'executorMemory' of the notebook you provide. Type: string (or Expression with resultType string).
      Parameters:
      executorSize - the executorSize value to set.
      Returns:
      the SynapseNotebookActivityTypeProperties object itself.
    • conf

      public Object conf()
      Get the conf property: Spark configuration properties, which will override the 'conf' of the notebook you provide.
      Returns:
      the conf value.
    • withConf

      Set the conf property: Spark configuration properties, which will override the 'conf' of the notebook you provide.
      Parameters:
      conf - the conf value to set.
      Returns:
      the SynapseNotebookActivityTypeProperties object itself.
    • driverSize

      public Object driverSize()
      Get the driverSize property: Number of core and memory to be used for driver allocated in the specified Spark pool for the session, which will be used for overriding 'driverCores' and 'driverMemory' of the notebook you provide. Type: string (or Expression with resultType string).
      Returns:
      the driverSize value.
    • withDriverSize

      public SynapseNotebookActivityTypeProperties withDriverSize(Object driverSize)
      Set the driverSize property: Number of core and memory to be used for driver allocated in the specified Spark pool for the session, which will be used for overriding 'driverCores' and 'driverMemory' of the notebook you provide. Type: string (or Expression with resultType string).
      Parameters:
      driverSize - the driverSize value to set.
      Returns:
      the SynapseNotebookActivityTypeProperties object itself.
    • numExecutors

      public Integer numExecutors()
      Get the numExecutors property: Number of executors to launch for this session, which will override the 'numExecutors' of the notebook you provide.
      Returns:
      the numExecutors value.
    • withNumExecutors

      public SynapseNotebookActivityTypeProperties withNumExecutors(Integer numExecutors)
      Set the numExecutors property: Number of executors to launch for this session, which will override the 'numExecutors' of the notebook you provide.
      Parameters:
      numExecutors - the numExecutors value to set.
      Returns:
      the SynapseNotebookActivityTypeProperties object itself.
    • validate

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