Share via


Trigger Class

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

Implements

public class Trigger
implements JsonSerializable<Trigger>

Azure Synapse nested object which contains information about creating pipeline run.

Constructor Summary

Constructor Description
Trigger()

Creates an instance of Trigger class.

Method Summary

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

Reads an instance of Trigger from the JsonReader.

Map<String,Object> getAdditionalProperties()

Get the additionalProperties property: Azure Synapse nested object which contains information about creating pipeline run.

List<Object> getAnnotations()

Get the annotations property: List of tags that can be used for describing the trigger.

String getDescription()

Get the description property: Trigger description.

TriggerRuntimeState getRuntimeState()

Get the runtimeState property: Indicates if trigger is running or not.

String getType()

Get the type property: Trigger type.

Trigger setAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: Azure Synapse nested object which contains information about creating pipeline run.

Trigger setAnnotations(List<Object> annotations)

Set the annotations property: List of tags that can be used for describing the trigger.

Trigger setDescription(String description)

Set the description property: Trigger description.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

Trigger

public Trigger()

Creates an instance of Trigger class.

Method Details

fromJson

public static Trigger fromJson(JsonReader jsonReader)

Reads an instance of Trigger from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

getAdditionalProperties

public Map<String,Object> getAdditionalProperties()

Get the additionalProperties property: Azure Synapse nested object which contains information about creating pipeline run.

Returns:

the additionalProperties value.

getAnnotations

public List<Object> getAnnotations()

Get the annotations property: List of tags that can be used for describing the trigger.

Returns:

the annotations value.

getDescription

public String getDescription()

Get the description property: Trigger description.

Returns:

the description value.

getRuntimeState

public TriggerRuntimeState getRuntimeState()

Get the runtimeState property: Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger.

Returns:

the runtimeState value.

getType

public String getType()

Get the type property: Trigger type.

Returns:

the type value.

setAdditionalProperties

public Trigger setAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: Azure Synapse nested object which contains information about creating pipeline run.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the Trigger object itself.

setAnnotations

public Trigger setAnnotations(List<Object> annotations)

Set the annotations property: List of tags that can be used for describing the trigger.

Parameters:

annotations - the annotations value to set.

Returns:

the Trigger object itself.

setDescription

public Trigger setDescription(String description)

Set the description property: Trigger description.

Parameters:

description - the description value to set.

Returns:

the Trigger object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to