TriggerRun Class

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

Implements

public final class TriggerRun
implements JsonSerializable<TriggerRun>

Trigger runs.

Constructor Summary

Constructor Description
TriggerRun()

Creates an instance of TriggerRun class.

Method Summary

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

Reads an instance of TriggerRun from the JsonReader.

Map<String,Object> getAdditionalProperties()

Get the additionalProperties property: Trigger runs.

String getMessage()

Get the message property: Trigger error message.

Map<String,String> getProperties()

Get the properties property: List of property name and value related to trigger run.

TriggerRunStatus getStatus()

Get the status property: Trigger run status.

Map<String,String> getTriggeredPipelines()

Get the triggeredPipelines property: List of pipeline name and run Id triggered by the trigger run.

String getTriggerName()

Get the triggerName property: Trigger name.

String getTriggerRunId()

Get the triggerRunId property: Trigger run id.

OffsetDateTime getTriggerRunTimestamp()

Get the triggerRunTimestamp property: Trigger run start time.

String getTriggerType()

Get the triggerType property: Trigger type.

TriggerRun setAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: Trigger runs.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

TriggerRun

public TriggerRun()

Creates an instance of TriggerRun class.

Method Details

fromJson

public static TriggerRun fromJson(JsonReader jsonReader)

Reads an instance of TriggerRun from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

getAdditionalProperties

public Map<String,Object> getAdditionalProperties()

Get the additionalProperties property: Trigger runs.

Returns:

the additionalProperties value.

getMessage

public String getMessage()

Get the message property: Trigger error message.

Returns:

the message value.

getProperties

public Map<String,String> getProperties()

Get the properties property: List of property name and value related to trigger run. Name, value pair depends on type of trigger.

Returns:

the properties value.

getStatus

public TriggerRunStatus getStatus()

Get the status property: Trigger run status.

Returns:

the status value.

getTriggeredPipelines

public Map<String,String> getTriggeredPipelines()

Get the triggeredPipelines property: List of pipeline name and run Id triggered by the trigger run.

Returns:

the triggeredPipelines value.

getTriggerName

public String getTriggerName()

Get the triggerName property: Trigger name.

Returns:

the triggerName value.

getTriggerRunId

public String getTriggerRunId()

Get the triggerRunId property: Trigger run id.

Returns:

the triggerRunId value.

getTriggerRunTimestamp

public OffsetDateTime getTriggerRunTimestamp()

Get the triggerRunTimestamp property: Trigger run start time.

Returns:

the triggerRunTimestamp value.

getTriggerType

public String getTriggerType()

Get the triggerType property: Trigger type.

Returns:

the triggerType value.

setAdditionalProperties

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

Set the additionalProperties property: Trigger runs.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the TriggerRun object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to