TriggerRun Class

  • java.lang.Object
    • com.azure.resourcemanager.datafactory.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
Map<String,Object> additionalProperties()

Get the additionalProperties property: Trigger runs.

Map<String,Object> dependencyStatus()

Get the dependencyStatus property: Status of the upstream pipelines.

static TriggerRun fromJson(JsonReader jsonReader)

Reads an instance of TriggerRun from the JsonReader.

String message()

Get the message property: Trigger error message.

Map<String,String> properties()

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

Map<String,String> runDimension()

Get the runDimension property: Run dimension for which trigger was fired.

TriggerRunStatus status()

Get the status property: Trigger run status.

JsonWriter toJson(JsonWriter jsonWriter)
Map<String,String> triggeredPipelines()

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

String triggerName()

Get the triggerName property: Trigger name.

String triggerRunId()

Get the triggerRunId property: Trigger run id.

OffsetDateTime triggerRunTimestamp()

Get the triggerRunTimestamp property: Trigger run start time.

String triggerType()

Get the triggerType property: Trigger type.

void validate()

Validates the instance.

TriggerRun withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: Trigger runs.

Methods inherited from java.lang.Object

Constructor Details

TriggerRun

public TriggerRun()

Creates an instance of TriggerRun class.

Method Details

additionalProperties

public Map<String,Object> additionalProperties()

Get the additionalProperties property: Trigger runs.

Returns:

the additionalProperties value.

dependencyStatus

public Map<String,Object> dependencyStatus()

Get the dependencyStatus property: Status of the upstream pipelines.

Returns:

the dependencyStatus value.

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.

message

public String message()

Get the message property: Trigger error message.

Returns:

the message value.

properties

public Map<String,String> properties()

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.

runDimension

public Map<String,String> runDimension()

Get the runDimension property: Run dimension for which trigger was fired.

Returns:

the runDimension value.

status

public TriggerRunStatus status()

Get the status property: Trigger run status.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

triggeredPipelines

public Map<String,String> triggeredPipelines()

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

Returns:

the triggeredPipelines value.

triggerName

public String triggerName()

Get the triggerName property: Trigger name.

Returns:

the triggerName value.

triggerRunId

public String triggerRunId()

Get the triggerRunId property: Trigger run id.

Returns:

the triggerRunId value.

triggerRunTimestamp

public OffsetDateTime triggerRunTimestamp()

Get the triggerRunTimestamp property: Trigger run start time.

Returns:

the triggerRunTimestamp value.

triggerType

public String triggerType()

Get the triggerType property: Trigger type.

Returns:

the triggerType value.

validate

public void validate()

Validates the instance.

withAdditionalProperties

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

Set the additionalProperties property: Trigger runs.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the TriggerRun object itself.

Applies to