TriggerReference Class

  • java.lang.Object
    • com.azure.resourcemanager.datafactory.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 referenceName()

Get the referenceName property: Reference trigger name.

JsonWriter toJson(JsonWriter jsonWriter)
TriggerReferenceType type()

Get the type property: Trigger reference type.

void validate()

Validates the instance.

TriggerReference withReferenceName(String referenceName)

Set the referenceName property: Reference trigger name.

TriggerReference withType(TriggerReferenceType type)

Set the type property: Trigger reference type.

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.

referenceName

public String referenceName()

Get the referenceName property: Reference trigger name.

Returns:

the referenceName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public TriggerReferenceType type()

Get the type property: Trigger reference type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withReferenceName

public TriggerReference withReferenceName(String referenceName)

Set the referenceName property: Reference trigger name.

Parameters:

referenceName - the referenceName value to set.

Returns:

the TriggerReference object itself.

withType

public TriggerReference withType(TriggerReferenceType type)

Set the type property: Trigger reference type.

Parameters:

type - the type value to set.

Returns:

the TriggerReference object itself.

Applies to