Class MultiplePipelineTrigger
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.Trigger
-
- com.azure.resourcemanager.datafactory.models.MultiplePipelineTrigger
-
- Direct Known Subclasses:
BlobEventsTrigger
,BlobTrigger
,CustomEventsTrigger
,ScheduleTrigger
public class MultiplePipelineTrigger extends Trigger
Base class for all triggers that support one to many model for trigger to pipeline.
-
-
Constructor Summary
Constructors Constructor Description MultiplePipelineTrigger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<TriggerPipelineReference>
pipelines()
Get the pipelines property: Pipelines that need to be started.void
validate()
Validates the instance.MultiplePipelineTrigger
withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the trigger.MultiplePipelineTrigger
withDescription(String description)
Set the description property: Trigger description.MultiplePipelineTrigger
withPipelines(List<TriggerPipelineReference> pipelines)
Set the pipelines property: Pipelines that need to be started.-
Methods inherited from class com.azure.resourcemanager.datafactory.models.Trigger
additionalProperties, annotations, description, runtimeState, withAdditionalProperties
-
-
-
-
Method Detail
-
pipelines
public List<TriggerPipelineReference> pipelines()
Get the pipelines property: Pipelines that need to be started.- Returns:
- the pipelines value.
-
withPipelines
public MultiplePipelineTrigger withPipelines(List<TriggerPipelineReference> pipelines)
Set the pipelines property: Pipelines that need to be started.- Parameters:
pipelines
- the pipelines value to set.- Returns:
- the MultiplePipelineTrigger object itself.
-
withDescription
public MultiplePipelineTrigger withDescription(String description)
Set the description property: Trigger description.- Overrides:
withDescription
in classTrigger
- Parameters:
description
- the description value to set.- Returns:
- the Trigger object itself.
-
withAnnotations
public MultiplePipelineTrigger withAnnotations(List<Object> annotations)
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.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classTrigger
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-