Class SparkBatchJobState
java.lang.Object
com.azure.analytics.synapse.artifacts.models.SparkBatchJobState
The SparkBatchJobState model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the currentState property: the Spark job state.Get the deadAt property: time that at which "dead" livy state was first seen.Get the jobCreationRequest property: The jobCreationRequest property.Get the notStartedAt property: the time that at which "not_started" livy state was first seen.Get the recoveringAt property: the time that at which "recovering" livy state was first seen.Get the runningAt property: the time that at which "running" livy state was first seen.Get the startingAt property: the time that at which "starting" livy state was first seen.Get the successAt property: the time that at which "success" livy state was first seen.Get the terminatedAt property: the time that at which "killed" livy state was first seen.setCurrentState
(String currentState) Set the currentState property: the Spark job state.setDeadAt
(OffsetDateTime deadAt) Set the deadAt property: time that at which "dead" livy state was first seen.setJobCreationRequest
(SparkRequest jobCreationRequest) Set the jobCreationRequest property: The jobCreationRequest property.setNotStartedAt
(OffsetDateTime notStartedAt) Set the notStartedAt property: the time that at which "not_started" livy state was first seen.setRecoveringAt
(OffsetDateTime recoveringAt) Set the recoveringAt property: the time that at which "recovering" livy state was first seen.setRunningAt
(OffsetDateTime runningAt) Set the runningAt property: the time that at which "running" livy state was first seen.setStartingAt
(OffsetDateTime startingAt) Set the startingAt property: the time that at which "starting" livy state was first seen.setSuccessAt
(OffsetDateTime successAt) Set the successAt property: the time that at which "success" livy state was first seen.setTerminatedAt
(OffsetDateTime terminatedAt) Set the terminatedAt property: the time that at which "killed" livy state was first seen.
-
Constructor Details
-
SparkBatchJobState
public SparkBatchJobState()Creates an instance of SparkBatchJobState class.
-
-
Method Details
-
getNotStartedAt
Get the notStartedAt property: the time that at which "not_started" livy state was first seen.- Returns:
- the notStartedAt value.
-
setNotStartedAt
Set the notStartedAt property: the time that at which "not_started" livy state was first seen.- Parameters:
notStartedAt
- the notStartedAt value to set.- Returns:
- the SparkBatchJobState object itself.
-
getStartingAt
Get the startingAt property: the time that at which "starting" livy state was first seen.- Returns:
- the startingAt value.
-
setStartingAt
Set the startingAt property: the time that at which "starting" livy state was first seen.- Parameters:
startingAt
- the startingAt value to set.- Returns:
- the SparkBatchJobState object itself.
-
getRunningAt
Get the runningAt property: the time that at which "running" livy state was first seen.- Returns:
- the runningAt value.
-
setRunningAt
Set the runningAt property: the time that at which "running" livy state was first seen.- Parameters:
runningAt
- the runningAt value to set.- Returns:
- the SparkBatchJobState object itself.
-
getDeadAt
Get the deadAt property: time that at which "dead" livy state was first seen.- Returns:
- the deadAt value.
-
setDeadAt
Set the deadAt property: time that at which "dead" livy state was first seen.- Parameters:
deadAt
- the deadAt value to set.- Returns:
- the SparkBatchJobState object itself.
-
getSuccessAt
Get the successAt property: the time that at which "success" livy state was first seen.- Returns:
- the successAt value.
-
setSuccessAt
Set the successAt property: the time that at which "success" livy state was first seen.- Parameters:
successAt
- the successAt value to set.- Returns:
- the SparkBatchJobState object itself.
-
getTerminatedAt
Get the terminatedAt property: the time that at which "killed" livy state was first seen.- Returns:
- the terminatedAt value.
-
setTerminatedAt
Set the terminatedAt property: the time that at which "killed" livy state was first seen.- Parameters:
terminatedAt
- the terminatedAt value to set.- Returns:
- the SparkBatchJobState object itself.
-
getRecoveringAt
Get the recoveringAt property: the time that at which "recovering" livy state was first seen.- Returns:
- the recoveringAt value.
-
setRecoveringAt
Set the recoveringAt property: the time that at which "recovering" livy state was first seen.- Parameters:
recoveringAt
- the recoveringAt value to set.- Returns:
- the SparkBatchJobState object itself.
-
getCurrentState
Get the currentState property: the Spark job state.- Returns:
- the currentState value.
-
setCurrentState
Set the currentState property: the Spark job state.- Parameters:
currentState
- the currentState value to set.- Returns:
- the SparkBatchJobState object itself.
-
getJobCreationRequest
Get the jobCreationRequest property: The jobCreationRequest property.- Returns:
- the jobCreationRequest value.
-
setJobCreationRequest
Set the jobCreationRequest property: The jobCreationRequest property.- Parameters:
jobCreationRequest
- the jobCreationRequest value to set.- Returns:
- the SparkBatchJobState object itself.
-