Delen via


SparkConfigurationReference Class

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

Implements

public final class SparkConfigurationReference
implements JsonSerializable<SparkConfigurationReference>

Spark configuration reference.

Constructor Summary

Constructor Description
SparkConfigurationReference()

Creates an instance of SparkConfigurationReference class.

Method Summary

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

Reads an instance of SparkConfigurationReference from the JsonReader.

String getReferenceName()

Get the referenceName property: Reference spark configuration name.

SparkConfigurationReferenceType getType()

Get the type property: Spark configuration reference type.

SparkConfigurationReference setReferenceName(String referenceName)

Set the referenceName property: Reference spark configuration name.

SparkConfigurationReference setType(SparkConfigurationReferenceType type)

Set the type property: Spark configuration reference type.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

SparkConfigurationReference

public SparkConfigurationReference()

Creates an instance of SparkConfigurationReference class.

Method Details

fromJson

public static SparkConfigurationReference fromJson(JsonReader jsonReader)

Reads an instance of SparkConfigurationReference from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

getReferenceName

public String getReferenceName()

Get the referenceName property: Reference spark configuration name.

Returns:

the referenceName value.

getType

public SparkConfigurationReferenceType getType()

Get the type property: Spark configuration reference type.

Returns:

the type value.

setReferenceName

public SparkConfigurationReference setReferenceName(String referenceName)

Set the referenceName property: Reference spark configuration name.

Parameters:

referenceName - the referenceName value to set.

Returns:

the SparkConfigurationReference object itself.

setType

public SparkConfigurationReference setType(SparkConfigurationReferenceType type)

Set the type property: Spark configuration reference type.

Parameters:

type - the type value to set.

Returns:

the SparkConfigurationReference object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to