Class SparkBatchJobState

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

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

    • SparkBatchJobState

      public SparkBatchJobState()
  • Method Details

    • getNotStartedAt

      public OffsetDateTime getNotStartedAt()
      Get the notStartedAt property: the time that at which "not_started" livy state was first seen.
      Returns:
      the notStartedAt value.
    • setNotStartedAt

      public SparkBatchJobState setNotStartedAt(OffsetDateTime notStartedAt)
      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

      public OffsetDateTime getStartingAt()
      Get the startingAt property: the time that at which "starting" livy state was first seen.
      Returns:
      the startingAt value.
    • setStartingAt

      public SparkBatchJobState setStartingAt(OffsetDateTime startingAt)
      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

      public OffsetDateTime getRunningAt()
      Get the runningAt property: the time that at which "running" livy state was first seen.
      Returns:
      the runningAt value.
    • setRunningAt

      public SparkBatchJobState setRunningAt(OffsetDateTime runningAt)
      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

      public OffsetDateTime getDeadAt()
      Get the deadAt property: time that at which "dead" livy state was first seen.
      Returns:
      the deadAt value.
    • setDeadAt

      public SparkBatchJobState setDeadAt(OffsetDateTime deadAt)
      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

      public OffsetDateTime getSuccessAt()
      Get the successAt property: the time that at which "success" livy state was first seen.
      Returns:
      the successAt value.
    • setSuccessAt

      public SparkBatchJobState setSuccessAt(OffsetDateTime successAt)
      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

      public OffsetDateTime getTerminatedAt()
      Get the terminatedAt property: the time that at which "killed" livy state was first seen.
      Returns:
      the terminatedAt value.
    • setTerminatedAt

      public SparkBatchJobState setTerminatedAt(OffsetDateTime terminatedAt)
      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

      public OffsetDateTime getRecoveringAt()
      Get the recoveringAt property: the time that at which "recovering" livy state was first seen.
      Returns:
      the recoveringAt value.
    • setRecoveringAt

      public SparkBatchJobState setRecoveringAt(OffsetDateTime recoveringAt)
      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

      public String getCurrentState()
      Get the currentState property: the Spark job state.
      Returns:
      the currentState value.
    • setCurrentState

      public SparkBatchJobState setCurrentState(String currentState)
      Set the currentState property: the Spark job state.
      Parameters:
      currentState - the currentState value to set.
      Returns:
      the SparkBatchJobState object itself.
    • getJobCreationRequest

      public SparkRequest getJobCreationRequest()
      Get the jobCreationRequest property: The jobCreationRequest property.
      Returns:
      the jobCreationRequest value.
    • setJobCreationRequest

      public SparkBatchJobState setJobCreationRequest(SparkRequest jobCreationRequest)
      Set the jobCreationRequest property: The jobCreationRequest property.
      Parameters:
      jobCreationRequest - the jobCreationRequest value to set.
      Returns:
      the SparkBatchJobState object itself.