Class ChainingTrigger
java.lang.Object
com.azure.resourcemanager.datafactory.models.Trigger
com.azure.resourcemanager.datafactory.models.ChainingTrigger
Trigger that allows the referenced pipeline to depend on other pipeline runs based on runDimension Name/Value pairs.
Upstream pipelines should declare the same runDimension Name and their runs should have the values for those
runDimensions. The referenced pipeline run would be triggered if the values for the runDimension match for all
upstream pipeline runs.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the dependsOn property: Upstream Pipelines.pipeline()
Get the pipeline property: Pipeline for which runs are created when all upstream pipelines complete successfully.Get the runDimension property: Run Dimension property that needs to be emitted by upstream pipelines.void
validate()
Validates the instance.withAnnotations
(List<Object> annotations) Set the annotations property: List of tags that can be used for describing the trigger.withDependsOn
(List<PipelineReference> dependsOn) Set the dependsOn property: Upstream Pipelines.withDescription
(String description) Set the description property: Trigger description.withPipeline
(TriggerPipelineReference pipeline) Set the pipeline property: Pipeline for which runs are created when all upstream pipelines complete successfully.withRunDimension
(String runDimension) Set the runDimension property: Run Dimension property that needs to be emitted by upstream pipelines.Methods inherited from class com.azure.resourcemanager.datafactory.models.Trigger
additionalProperties, annotations, description, runtimeState, withAdditionalProperties
-
Constructor Details
-
ChainingTrigger
public ChainingTrigger()Creates an instance of ChainingTrigger class.
-
-
Method Details
-
pipeline
Get the pipeline property: Pipeline for which runs are created when all upstream pipelines complete successfully.- Returns:
- the pipeline value.
-
withPipeline
Set the pipeline property: Pipeline for which runs are created when all upstream pipelines complete successfully.- Parameters:
pipeline
- the pipeline value to set.- Returns:
- the ChainingTrigger object itself.
-
withDescription
Set the description property: Trigger description.- Overrides:
withDescription
in classTrigger
- Parameters:
description
- the description value to set.- Returns:
- the Trigger object itself.
-
withAnnotations
Set the annotations property: List of tags that can be used for describing the trigger.- Overrides:
withAnnotations
in classTrigger
- Parameters:
annotations
- the annotations value to set.- Returns:
- the Trigger object itself.
-
dependsOn
Get the dependsOn property: Upstream Pipelines.- Returns:
- the dependsOn value.
-
withDependsOn
Set the dependsOn property: Upstream Pipelines.- Parameters:
dependsOn
- the dependsOn value to set.- Returns:
- the ChainingTrigger object itself.
-
runDimension
Get the runDimension property: Run Dimension property that needs to be emitted by upstream pipelines.- Returns:
- the runDimension value.
-
withRunDimension
Set the runDimension property: Run Dimension property that needs to be emitted by upstream pipelines.- Parameters:
runDimension
- the runDimension value to set.- Returns:
- the ChainingTrigger object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classTrigger
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-