Compartilhar via


SparkServicePlugin Class

  • java.lang.Object
    • com.azure.analytics.synapse.artifacts.models.SparkServicePlugin

Implements

public final class SparkServicePlugin
implements JsonSerializable<SparkServicePlugin>

The SparkServicePlugin model.

Constructor Summary

Constructor Description
SparkServicePlugin()

Creates an instance of SparkServicePlugin class.

Method Summary

Modifier and Type Method and Description
static SparkServicePlugin fromJson(JsonReader jsonReader)

Reads an instance of SparkServicePlugin from the JsonReader.

OffsetDateTime getCleanupStartedAt()

Get the cleanupStartedAt property: The cleanupStartedAt property.

PluginCurrentState getCurrentState()

Get the currentState property: The currentState property.

OffsetDateTime getMonitoringStartedAt()

Get the monitoringStartedAt property: The monitoringStartedAt property.

OffsetDateTime getPreparationStartedAt()

Get the preparationStartedAt property: The preparationStartedAt property.

OffsetDateTime getResourceAcquisitionStartedAt()

Get the resourceAcquisitionStartedAt property: The resourceAcquisitionStartedAt property.

OffsetDateTime getSubmissionStartedAt()

Get the submissionStartedAt property: The submissionStartedAt property.

SparkServicePlugin setCleanupStartedAt(OffsetDateTime cleanupStartedAt)

Set the cleanupStartedAt property: The cleanupStartedAt property.

SparkServicePlugin setCurrentState(PluginCurrentState currentState)

Set the currentState property: The currentState property.

SparkServicePlugin setMonitoringStartedAt(OffsetDateTime monitoringStartedAt)

Set the monitoringStartedAt property: The monitoringStartedAt property.

SparkServicePlugin setPreparationStartedAt(OffsetDateTime preparationStartedAt)

Set the preparationStartedAt property: The preparationStartedAt property.

SparkServicePlugin setResourceAcquisitionStartedAt(OffsetDateTime resourceAcquisitionStartedAt)

Set the resourceAcquisitionStartedAt property: The resourceAcquisitionStartedAt property.

SparkServicePlugin setSubmissionStartedAt(OffsetDateTime submissionStartedAt)

Set the submissionStartedAt property: The submissionStartedAt property.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

SparkServicePlugin

public SparkServicePlugin()

Creates an instance of SparkServicePlugin class.

Method Details

fromJson

public static SparkServicePlugin fromJson(JsonReader jsonReader)

Reads an instance of SparkServicePlugin from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SparkServicePlugin if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the SparkServicePlugin.

getCleanupStartedAt

public OffsetDateTime getCleanupStartedAt()

Get the cleanupStartedAt property: The cleanupStartedAt property.

Returns:

the cleanupStartedAt value.

getCurrentState

public PluginCurrentState getCurrentState()

Get the currentState property: The currentState property.

Returns:

the currentState value.

getMonitoringStartedAt

public OffsetDateTime getMonitoringStartedAt()

Get the monitoringStartedAt property: The monitoringStartedAt property.

Returns:

the monitoringStartedAt value.

getPreparationStartedAt

public OffsetDateTime getPreparationStartedAt()

Get the preparationStartedAt property: The preparationStartedAt property.

Returns:

the preparationStartedAt value.

getResourceAcquisitionStartedAt

public OffsetDateTime getResourceAcquisitionStartedAt()

Get the resourceAcquisitionStartedAt property: The resourceAcquisitionStartedAt property.

Returns:

the resourceAcquisitionStartedAt value.

getSubmissionStartedAt

public OffsetDateTime getSubmissionStartedAt()

Get the submissionStartedAt property: The submissionStartedAt property.

Returns:

the submissionStartedAt value.

setCleanupStartedAt

public SparkServicePlugin setCleanupStartedAt(OffsetDateTime cleanupStartedAt)

Set the cleanupStartedAt property: The cleanupStartedAt property.

Parameters:

cleanupStartedAt - the cleanupStartedAt value to set.

Returns:

the SparkServicePlugin object itself.

setCurrentState

public SparkServicePlugin setCurrentState(PluginCurrentState currentState)

Set the currentState property: The currentState property.

Parameters:

currentState - the currentState value to set.

Returns:

the SparkServicePlugin object itself.

setMonitoringStartedAt

public SparkServicePlugin setMonitoringStartedAt(OffsetDateTime monitoringStartedAt)

Set the monitoringStartedAt property: The monitoringStartedAt property.

Parameters:

monitoringStartedAt - the monitoringStartedAt value to set.

Returns:

the SparkServicePlugin object itself.

setPreparationStartedAt

public SparkServicePlugin setPreparationStartedAt(OffsetDateTime preparationStartedAt)

Set the preparationStartedAt property: The preparationStartedAt property.

Parameters:

preparationStartedAt - the preparationStartedAt value to set.

Returns:

the SparkServicePlugin object itself.

setResourceAcquisitionStartedAt

public SparkServicePlugin setResourceAcquisitionStartedAt(OffsetDateTime resourceAcquisitionStartedAt)

Set the resourceAcquisitionStartedAt property: The resourceAcquisitionStartedAt property.

Parameters:

resourceAcquisitionStartedAt - the resourceAcquisitionStartedAt value to set.

Returns:

the SparkServicePlugin object itself.

setSubmissionStartedAt

public SparkServicePlugin setSubmissionStartedAt(OffsetDateTime submissionStartedAt)

Set the submissionStartedAt property: The submissionStartedAt property.

Parameters:

submissionStartedAt - the submissionStartedAt value to set.

Returns:

the SparkServicePlugin object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to