SparkScheduler Class

  • java.lang.Object
    • com.azure.analytics.synapse.spark.models.SparkScheduler

public final class SparkScheduler

The SparkScheduler model.

Constructor Summary

Constructor Description
SparkScheduler()

Method Summary

Modifier and Type Method and Description
OffsetDateTime getCancellationRequestedAt()

Get the cancellationRequestedAt property: The cancellationRequestedAt property.

SchedulerCurrentState getCurrentState()

Get the currentState property: The currentState property.

OffsetDateTime getEndedAt()

Get the endedAt property: The endedAt property.

OffsetDateTime getScheduledAt()

Get the scheduledAt property: The scheduledAt property.

OffsetDateTime getSubmittedAt()

Get the submittedAt property: The submittedAt property.

SparkScheduler setCancellationRequestedAt(OffsetDateTime cancellationRequestedAt)

Set the cancellationRequestedAt property: The cancellationRequestedAt property.

SparkScheduler setCurrentState(SchedulerCurrentState currentState)

Set the currentState property: The currentState property.

SparkScheduler setEndedAt(OffsetDateTime endedAt)

Set the endedAt property: The endedAt property.

SparkScheduler setScheduledAt(OffsetDateTime scheduledAt)

Set the scheduledAt property: The scheduledAt property.

SparkScheduler setSubmittedAt(OffsetDateTime submittedAt)

Set the submittedAt property: The submittedAt property.

Methods inherited from java.lang.Object

Constructor Details

SparkScheduler

public SparkScheduler()

Method Details

getCancellationRequestedAt

public OffsetDateTime getCancellationRequestedAt()

Get the cancellationRequestedAt property: The cancellationRequestedAt property.

Returns:

the cancellationRequestedAt value.

getCurrentState

public SchedulerCurrentState getCurrentState()

Get the currentState property: The currentState property.

Returns:

the currentState value.

getEndedAt

public OffsetDateTime getEndedAt()

Get the endedAt property: The endedAt property.

Returns:

the endedAt value.

getScheduledAt

public OffsetDateTime getScheduledAt()

Get the scheduledAt property: The scheduledAt property.

Returns:

the scheduledAt value.

getSubmittedAt

public OffsetDateTime getSubmittedAt()

Get the submittedAt property: The submittedAt property.

Returns:

the submittedAt 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.

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.

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.

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.

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.

Applies to