Class SparkBatchJobCollection

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

public final class SparkBatchJobCollection extends Object
Response for batch list operation.
  • Constructor Details

    • SparkBatchJobCollection

      public SparkBatchJobCollection()
  • Method Details

    • getFrom

      public int getFrom()
      Get the from property: The start index of fetched sessions.
      Returns:
      the from value.
    • setFrom

      public SparkBatchJobCollection setFrom(int from)
      Set the from property: The start index of fetched sessions.
      Parameters:
      from - the from value to set.
      Returns:
      the SparkBatchJobCollection object itself.
    • getTotal

      public int getTotal()
      Get the total property: Number of sessions fetched.
      Returns:
      the total value.
    • setTotal

      public SparkBatchJobCollection setTotal(int total)
      Set the total property: Number of sessions fetched.
      Parameters:
      total - the total value to set.
      Returns:
      the SparkBatchJobCollection object itself.
    • getSessions

      public List<SparkBatchJob> getSessions()
      Get the sessions property: Batch list.
      Returns:
      the sessions value.
    • setSessions

      public SparkBatchJobCollection setSessions(List<SparkBatchJob> sessions)
      Set the sessions property: Batch list.
      Parameters:
      sessions - the sessions value to set.
      Returns:
      the SparkBatchJobCollection object itself.