Share via


PipelineReference Class

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

Implements

public final class PipelineReference
implements JsonSerializable<PipelineReference>

Pipeline reference type.

Constructor Summary

Constructor Description
PipelineReference()

Creates an instance of PipelineReference class.

Method Summary

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

Reads an instance of PipelineReference from the JsonReader.

String getName()

Get the name property: Reference name.

String getReferenceName()

Get the referenceName property: Reference pipeline name.

PipelineReferenceType getType()

Get the type property: Pipeline reference type.

PipelineReference setName(String name)

Set the name property: Reference name.

PipelineReference setReferenceName(String referenceName)

Set the referenceName property: Reference pipeline name.

PipelineReference setType(PipelineReferenceType type)

Set the type property: Pipeline reference type.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

PipelineReference

public PipelineReference()

Creates an instance of PipelineReference class.

Method Details

fromJson

public static PipelineReference fromJson(JsonReader jsonReader)

Reads an instance of PipelineReference from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of PipelineReference 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.

getName

public String getName()

Get the name property: Reference name.

Returns:

the name value.

getReferenceName

public String getReferenceName()

Get the referenceName property: Reference pipeline name.

Returns:

the referenceName value.

getType

public PipelineReferenceType getType()

Get the type property: Pipeline reference type.

Returns:

the type value.

setName

public PipelineReference setName(String name)

Set the name property: Reference name.

Parameters:

name - the name value to set.

Returns:

the PipelineReference object itself.

setReferenceName

public PipelineReference setReferenceName(String referenceName)

Set the referenceName property: Reference pipeline name.

Parameters:

referenceName - the referenceName value to set.

Returns:

the PipelineReference object itself.

setType

public PipelineReference setType(PipelineReferenceType type)

Set the type property: Pipeline reference type.

Parameters:

type - the type value to set.

Returns:

the PipelineReference object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to