Class NotebookSessionProperties

java.lang.Object
com.azure.analytics.synapse.artifacts.models.NotebookSessionProperties

public final class NotebookSessionProperties extends Object
Session properties.
  • Constructor Details

    • NotebookSessionProperties

      public NotebookSessionProperties()
  • Method Details

    • getDriverMemory

      public String getDriverMemory()
      Get the driverMemory property: Amount of memory to use for the driver process.
      Returns:
      the driverMemory value.
    • setDriverMemory

      public NotebookSessionProperties setDriverMemory(String driverMemory)
      Set the driverMemory property: Amount of memory to use for the driver process.
      Parameters:
      driverMemory - the driverMemory value to set.
      Returns:
      the NotebookSessionProperties object itself.
    • getDriverCores

      public int getDriverCores()
      Get the driverCores property: Number of cores to use for the driver.
      Returns:
      the driverCores value.
    • setDriverCores

      public NotebookSessionProperties setDriverCores(int driverCores)
      Set the driverCores property: Number of cores to use for the driver.
      Parameters:
      driverCores - the driverCores value to set.
      Returns:
      the NotebookSessionProperties object itself.
    • getExecutorMemory

      public String getExecutorMemory()
      Get the executorMemory property: Amount of memory to use per executor process.
      Returns:
      the executorMemory value.
    • setExecutorMemory

      public NotebookSessionProperties setExecutorMemory(String executorMemory)
      Set the executorMemory property: Amount of memory to use per executor process.
      Parameters:
      executorMemory - the executorMemory value to set.
      Returns:
      the NotebookSessionProperties object itself.
    • getExecutorCores

      public int getExecutorCores()
      Get the executorCores property: Number of cores to use for each executor.
      Returns:
      the executorCores value.
    • setExecutorCores

      public NotebookSessionProperties setExecutorCores(int executorCores)
      Set the executorCores property: Number of cores to use for each executor.
      Parameters:
      executorCores - the executorCores value to set.
      Returns:
      the NotebookSessionProperties object itself.
    • getNumExecutors

      public int getNumExecutors()
      Get the numExecutors property: Number of executors to launch for this session.
      Returns:
      the numExecutors value.
    • setNumExecutors

      public NotebookSessionProperties setNumExecutors(int numExecutors)
      Set the numExecutors property: Number of executors to launch for this session.
      Parameters:
      numExecutors - the numExecutors value to set.
      Returns:
      the NotebookSessionProperties object itself.