Class SparkBatchJobCollection
java.lang.Object
com.azure.analytics.synapse.spark.models.SparkBatchJobCollection
Response for batch list operation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getFrom()
Get the from property: The start index of fetched sessions.Get the sessions property: Batch list.int
getTotal()
Get the total property: Number of sessions fetched.setFrom
(int from) Set the from property: The start index of fetched sessions.setSessions
(List<SparkBatchJob> sessions) Set the sessions property: Batch list.setTotal
(int total) Set the total property: Number of sessions fetched.
-
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
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
Set the total property: Number of sessions fetched.- Parameters:
total
- the total value to set.- Returns:
- the SparkBatchJobCollection object itself.
-
getSessions
Get the sessions property: Batch list.- Returns:
- the sessions value.
-
setSessions
Set the sessions property: Batch list.- Parameters:
sessions
- the sessions value to set.- Returns:
- the SparkBatchJobCollection object itself.
-