TriggerReference Class

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

Implements

public final class TriggerReference
implements JsonSerializable<TriggerReference>

Trigger reference type.

Constructor Summary

Constructor Description
TriggerReference()

Creates an instance of TriggerReference class.

Method Summary

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

Reads an instance of TriggerReference from the JsonReader.

String getReferenceName()

Get the referenceName property: Reference trigger name.

TriggerReferenceType getType()

Get the type property: Trigger reference type.

TriggerReference setReferenceName(String referenceName)

Set the referenceName property: Reference trigger name.

TriggerReference setType(TriggerReferenceType type)

Set the type property: Trigger reference type.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

TriggerReference

public TriggerReference()

Creates an instance of TriggerReference class.

Method Details

fromJson

public static TriggerReference fromJson(JsonReader jsonReader)

Reads an instance of TriggerReference from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of TriggerReference 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 trigger name.

Returns:

the referenceName value.

getType

public TriggerReferenceType getType()

Get the type property: Trigger reference type.

Returns:

the type value.

setReferenceName

public TriggerReference setReferenceName(String referenceName)

Set the referenceName property: Reference trigger name.

Parameters:

referenceName - the referenceName value to set.

Returns:

the TriggerReference object itself.

setType

public TriggerReference setType(TriggerReferenceType type)

Set the type property: Trigger reference type.

Parameters:

type - the type value to set.

Returns:

the TriggerReference object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to