Class SparkSessionOptions

java.lang.Object
com.azure.analytics.synapse.spark.models.SparkSessionOptions

public final class SparkSessionOptions extends Object
The SparkSessionOptions model.
  • Constructor Details

    • SparkSessionOptions

      public SparkSessionOptions()
  • Method Details

    • getTags

      public Map<String,String> getTags()
      Get the tags property: Dictionary of <string>.
      Returns:
      the tags value.
    • setTags

      public SparkSessionOptions setTags(Map<String,String> tags)
      Set the tags property: Dictionary of <string>.
      Parameters:
      tags - the tags value to set.
      Returns:
      the SparkSessionOptions object itself.
    • getArtifactId

      public String getArtifactId()
      Get the artifactId property: The artifactId property.
      Returns:
      the artifactId value.
    • setArtifactId

      public SparkSessionOptions setArtifactId(String artifactId)
      Set the artifactId property: The artifactId property.
      Parameters:
      artifactId - the artifactId value to set.
      Returns:
      the SparkSessionOptions object itself.
    • getName

      public String getName()
      Get the name property: The name property.
      Returns:
      the name value.
    • setName

      public SparkSessionOptions setName(String name)
      Set the name property: The name property.
      Parameters:
      name - the name value to set.
      Returns:
      the SparkSessionOptions object itself.
    • getFile

      public String getFile()
      Get the file property: The file property.
      Returns:
      the file value.
    • setFile

      public SparkSessionOptions setFile(String file)
      Set the file property: The file property.
      Parameters:
      file - the file value to set.
      Returns:
      the SparkSessionOptions object itself.
    • getClassName

      public String getClassName()
      Get the className property: The className property.
      Returns:
      the className value.
    • setClassName

      public SparkSessionOptions setClassName(String className)
      Set the className property: The className property.
      Parameters:
      className - the className value to set.
      Returns:
      the SparkSessionOptions object itself.
    • getArguments

      public List<String> getArguments()
      Get the arguments property: The args property.
      Returns:
      the arguments value.
    • setArguments

      public SparkSessionOptions setArguments(List<String> arguments)
      Set the arguments property: The args property.
      Parameters:
      arguments - the arguments value to set.
      Returns:
      the SparkSessionOptions object itself.
    • getJars

      public List<String> getJars()
      Get the jars property: The jars property.
      Returns:
      the jars value.
    • setJars

      public SparkSessionOptions setJars(List<String> jars)
      Set the jars property: The jars property.
      Parameters:
      jars - the jars value to set.
      Returns:
      the SparkSessionOptions object itself.
    • getPythonFiles

      public List<String> getPythonFiles()
      Get the pythonFiles property: The pyFiles property.
      Returns:
      the pythonFiles value.
    • setPythonFiles

      public SparkSessionOptions setPythonFiles(List<String> pythonFiles)
      Set the pythonFiles property: The pyFiles property.
      Parameters:
      pythonFiles - the pythonFiles value to set.
      Returns:
      the SparkSessionOptions object itself.
    • getFiles

      public List<String> getFiles()
      Get the files property: The files property.
      Returns:
      the files value.
    • setFiles

      public SparkSessionOptions setFiles(List<String> files)
      Set the files property: The files property.
      Parameters:
      files - the files value to set.
      Returns:
      the SparkSessionOptions object itself.
    • getArchives

      public List<String> getArchives()
      Get the archives property: The archives property.
      Returns:
      the archives value.
    • setArchives

      public SparkSessionOptions setArchives(List<String> archives)
      Set the archives property: The archives property.
      Parameters:
      archives - the archives value to set.
      Returns:
      the SparkSessionOptions object itself.
    • getConfiguration

      public Map<String,String> getConfiguration()
      Get the configuration property: Dictionary of <string>.
      Returns:
      the configuration value.
    • setConfiguration

      public SparkSessionOptions setConfiguration(Map<String,String> configuration)
      Set the configuration property: Dictionary of <string>.
      Parameters:
      configuration - the configuration value to set.
      Returns:
      the SparkSessionOptions object itself.
    • getDriverMemory

      public String getDriverMemory()
      Get the driverMemory property: The driverMemory property.
      Returns:
      the driverMemory value.
    • setDriverMemory

      public SparkSessionOptions setDriverMemory(String driverMemory)
      Set the driverMemory property: The driverMemory property.
      Parameters:
      driverMemory - the driverMemory value to set.
      Returns:
      the SparkSessionOptions object itself.
    • getDriverCores

      public Integer getDriverCores()
      Get the driverCores property: The driverCores property.
      Returns:
      the driverCores value.
    • setDriverCores

      public SparkSessionOptions setDriverCores(Integer driverCores)
      Set the driverCores property: The driverCores property.
      Parameters:
      driverCores - the driverCores value to set.
      Returns:
      the SparkSessionOptions object itself.
    • getExecutorMemory

      public String getExecutorMemory()
      Get the executorMemory property: The executorMemory property.
      Returns:
      the executorMemory value.
    • setExecutorMemory

      public SparkSessionOptions setExecutorMemory(String executorMemory)
      Set the executorMemory property: The executorMemory property.
      Parameters:
      executorMemory - the executorMemory value to set.
      Returns:
      the SparkSessionOptions object itself.
    • getExecutorCores

      public Integer getExecutorCores()
      Get the executorCores property: The executorCores property.
      Returns:
      the executorCores value.
    • setExecutorCores

      public SparkSessionOptions setExecutorCores(Integer executorCores)
      Set the executorCores property: The executorCores property.
      Parameters:
      executorCores - the executorCores value to set.
      Returns:
      the SparkSessionOptions object itself.
    • getExecutorCount

      public Integer getExecutorCount()
      Get the executorCount property: The numExecutors property.
      Returns:
      the executorCount value.
    • setExecutorCount

      public SparkSessionOptions setExecutorCount(Integer executorCount)
      Set the executorCount property: The numExecutors property.
      Parameters:
      executorCount - the executorCount value to set.
      Returns:
      the SparkSessionOptions object itself.