Class SparkScheduler


  • public final class SparkScheduler
    extends Object
    The SparkScheduler model.
    • Constructor Detail

      • SparkScheduler

        public SparkScheduler()
    • Method Detail

      • getSubmittedAt

        public OffsetDateTime getSubmittedAt()
        Get the submittedAt property: The submittedAt property.
        Returns:
        the submittedAt value.
      • setSubmittedAt

        public SparkScheduler setSubmittedAt​(OffsetDateTime submittedAt)
        Set the submittedAt property: The submittedAt property.
        Parameters:
        submittedAt - the submittedAt value to set.
        Returns:
        the SparkScheduler object itself.
      • getScheduledAt

        public OffsetDateTime getScheduledAt()
        Get the scheduledAt property: The scheduledAt property.
        Returns:
        the scheduledAt value.
      • setScheduledAt

        public SparkScheduler setScheduledAt​(OffsetDateTime scheduledAt)
        Set the scheduledAt property: The scheduledAt property.
        Parameters:
        scheduledAt - the scheduledAt value to set.
        Returns:
        the SparkScheduler object itself.
      • getEndedAt

        public OffsetDateTime getEndedAt()
        Get the endedAt property: The endedAt property.
        Returns:
        the endedAt value.
      • setEndedAt

        public SparkScheduler setEndedAt​(OffsetDateTime endedAt)
        Set the endedAt property: The endedAt property.
        Parameters:
        endedAt - the endedAt value to set.
        Returns:
        the SparkScheduler object itself.
      • getCancellationRequestedAt

        public OffsetDateTime getCancellationRequestedAt()
        Get the cancellationRequestedAt property: The cancellationRequestedAt property.
        Returns:
        the cancellationRequestedAt value.
      • setCancellationRequestedAt

        public SparkScheduler setCancellationRequestedAt​(OffsetDateTime cancellationRequestedAt)
        Set the cancellationRequestedAt property: The cancellationRequestedAt property.
        Parameters:
        cancellationRequestedAt - the cancellationRequestedAt value to set.
        Returns:
        the SparkScheduler object itself.
      • getCurrentState

        public SchedulerCurrentState getCurrentState()
        Get the currentState property: The currentState property.
        Returns:
        the currentState value.
      • setCurrentState

        public SparkScheduler setCurrentState​(SchedulerCurrentState currentState)
        Set the currentState property: The currentState property.
        Parameters:
        currentState - the currentState value to set.
        Returns:
        the SparkScheduler object itself.