Class SparkBatchJob

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

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

    • SparkBatchJob

      public SparkBatchJob()
  • Method Details

    • getLivyInfo

      public SparkBatchJobState getLivyInfo()
      Get the livyInfo property: The livyInfo property.
      Returns:
      the livyInfo value.
    • setLivyInfo

      public SparkBatchJob setLivyInfo(SparkBatchJobState livyInfo)
      Set the livyInfo property: The livyInfo property.
      Parameters:
      livyInfo - the livyInfo value to set.
      Returns:
      the SparkBatchJob object itself.
    • getName

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

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

      public String getWorkspaceName()
      Get the workspaceName property: The workspace name.
      Returns:
      the workspaceName value.
    • setWorkspaceName

      public SparkBatchJob setWorkspaceName(String workspaceName)
      Set the workspaceName property: The workspace name.
      Parameters:
      workspaceName - the workspaceName value to set.
      Returns:
      the SparkBatchJob object itself.
    • getSparkPoolName

      public String getSparkPoolName()
      Get the sparkPoolName property: The Spark pool name.
      Returns:
      the sparkPoolName value.
    • setSparkPoolName

      public SparkBatchJob setSparkPoolName(String sparkPoolName)
      Set the sparkPoolName property: The Spark pool name.
      Parameters:
      sparkPoolName - the sparkPoolName value to set.
      Returns:
      the SparkBatchJob object itself.
    • getSubmitterName

      public String getSubmitterName()
      Get the submitterName property: The submitter name.
      Returns:
      the submitterName value.
    • setSubmitterName

      public SparkBatchJob setSubmitterName(String submitterName)
      Set the submitterName property: The submitter name.
      Parameters:
      submitterName - the submitterName value to set.
      Returns:
      the SparkBatchJob object itself.
    • getSubmitterId

      public String getSubmitterId()
      Get the submitterId property: The submitter identifier.
      Returns:
      the submitterId value.
    • setSubmitterId

      public SparkBatchJob setSubmitterId(String submitterId)
      Set the submitterId property: The submitter identifier.
      Parameters:
      submitterId - the submitterId value to set.
      Returns:
      the SparkBatchJob object itself.
    • getArtifactId

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

      public SparkBatchJob setArtifactId(String artifactId)
      Set the artifactId property: The artifact identifier.
      Parameters:
      artifactId - the artifactId value to set.
      Returns:
      the SparkBatchJob object itself.
    • getJobType

      public SparkJobType getJobType()
      Get the jobType property: The job type.
      Returns:
      the jobType value.
    • setJobType

      public SparkBatchJob setJobType(SparkJobType jobType)
      Set the jobType property: The job type.
      Parameters:
      jobType - the jobType value to set.
      Returns:
      the SparkBatchJob object itself.
    • getResult

      public SparkBatchJobResultType getResult()
      Get the result property: The Spark batch job result.
      Returns:
      the result value.
    • setResult

      public SparkBatchJob setResult(SparkBatchJobResultType result)
      Set the result property: The Spark batch job result.
      Parameters:
      result - the result value to set.
      Returns:
      the SparkBatchJob object itself.
    • getScheduler

      public SparkScheduler getScheduler()
      Get the scheduler property: The scheduler information.
      Returns:
      the scheduler value.
    • setScheduler

      public SparkBatchJob setScheduler(SparkScheduler scheduler)
      Set the scheduler property: The scheduler information.
      Parameters:
      scheduler - the scheduler value to set.
      Returns:
      the SparkBatchJob object itself.
    • getPlugin

      public SparkServicePlugin getPlugin()
      Get the plugin property: The plugin information.
      Returns:
      the plugin value.
    • setPlugin

      public SparkBatchJob setPlugin(SparkServicePlugin plugin)
      Set the plugin property: The plugin information.
      Parameters:
      plugin - the plugin value to set.
      Returns:
      the SparkBatchJob object itself.
    • getErrors

      public List<SparkServiceError> getErrors()
      Get the errors property: The error information.
      Returns:
      the errors value.
    • setErrors

      public SparkBatchJob setErrors(List<SparkServiceError> errors)
      Set the errors property: The error information.
      Parameters:
      errors - the errors value to set.
      Returns:
      the SparkBatchJob object itself.
    • getTags

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

      public SparkBatchJob setTags(Map<String,String> tags)
      Set the tags property: The tags.
      Parameters:
      tags - the tags value to set.
      Returns:
      the SparkBatchJob object itself.
    • getId

      public int getId()
      Get the id property: The session Id.
      Returns:
      the id value.
    • setId

      public SparkBatchJob setId(int id)
      Set the id property: The session Id.
      Parameters:
      id - the id value to set.
      Returns:
      the SparkBatchJob object itself.
    • getAppId

      public String getAppId()
      Get the appId property: The application id of this session.
      Returns:
      the appId value.
    • setAppId

      public SparkBatchJob setAppId(String appId)
      Set the appId property: The application id of this session.
      Parameters:
      appId - the appId value to set.
      Returns:
      the SparkBatchJob object itself.
    • getAppInfo

      public Map<String,String> getAppInfo()
      Get the appInfo property: The detailed application info.
      Returns:
      the appInfo value.
    • setAppInfo

      public SparkBatchJob setAppInfo(Map<String,String> appInfo)
      Set the appInfo property: The detailed application info.
      Parameters:
      appInfo - the appInfo value to set.
      Returns:
      the SparkBatchJob object itself.
    • getState

      public LivyStates getState()
      Get the state property: The batch state.
      Returns:
      the state value.
    • setState

      public SparkBatchJob setState(LivyStates state)
      Set the state property: The batch state.
      Parameters:
      state - the state value to set.
      Returns:
      the SparkBatchJob object itself.
    • getLogLines

      public List<String> getLogLines()
      Get the logLines property: The log lines.
      Returns:
      the logLines value.
    • setLogLines

      public SparkBatchJob setLogLines(List<String> logLines)
      Set the logLines property: The log lines.
      Parameters:
      logLines - the logLines value to set.
      Returns:
      the SparkBatchJob object itself.