Compartilhar via


Trigger Class

  • java.lang.Object
    • com.azure.resourcemanager.datafactory.models.Trigger

Implements

public class Trigger
implements JsonSerializable<Trigger>

Azure data factory 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
Map<String,Object> additionalProperties()

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

List<Object> annotations()

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

String description()

Get the description property: Trigger description.

static Trigger fromJson(JsonReader jsonReader)

Reads an instance of Trigger from the JsonReader.

TriggerRuntimeState runtimeState()

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

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Trigger type.

Trigger withAdditionalProperties(Map<String,Object> additionalProperties)

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

Trigger withAnnotations(List<Object> annotations)

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

Trigger withDescription(String description)

Set the description property: Trigger description.

Methods inherited from java.lang.Object

Constructor Details

Trigger

public Trigger()

Creates an instance of Trigger class.

Method Details

additionalProperties

public Map<String,Object> additionalProperties()

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

Returns:

the additionalProperties value.

annotations

public List<Object> annotations()

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

Returns:

the annotations value.

description

public String description()

Get the description property: Trigger description.

Returns:

the description value.

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.

runtimeState

public TriggerRuntimeState runtimeState()

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Trigger type.

Returns:

the type value.

withAdditionalProperties

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

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

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the Trigger object itself.

withAnnotations

public Trigger withAnnotations(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.

withDescription

public Trigger withDescription(String description)

Set the description property: Trigger description.

Parameters:

description - the description value to set.

Returns:

the Trigger object itself.

Applies to