Class Trigger
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.Trigger
-
- Direct Known Subclasses:
ChainingTrigger
,MultiplePipelineTrigger
,RerunTumblingWindowTrigger
,TumblingWindowTrigger
public class Trigger extends Object
Azure data factory nested object which contains information about creating pipeline run.
-
-
Constructor Summary
Constructors Constructor Description Trigger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.TriggerRuntimeState
runtimeState()
Get the runtimeState property: Indicates if trigger is running or not.void
validate()
Validates the instance.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.
-
-
-
Method Detail
-
description
public String description()
Get the description property: Trigger description.- Returns:
- the description value.
-
withDescription
public Trigger withDescription(String description)
Set the description property: Trigger description.- Parameters:
description
- the description value to set.- Returns:
- the Trigger object itself.
-
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.
-
annotations
public List<Object> annotations()
Get the annotations property: List of tags that can be used for describing the trigger.- Returns:
- the annotations value.
-
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.
-
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.
-
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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-