Class BlobTrigger
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.Trigger
-
- com.azure.resourcemanager.datafactory.models.MultiplePipelineTrigger
-
- com.azure.resourcemanager.datafactory.models.BlobTrigger
-
public final class BlobTrigger extends MultiplePipelineTrigger
Trigger that runs every time the selected Blob container changes.
-
-
Constructor Summary
Constructors Constructor Description BlobTrigger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringfolderPath()Get the folderPath property: The path of the container/folder that will trigger the pipeline.LinkedServiceReferencelinkedService()Get the linkedService property: The Azure Storage linked service reference.intmaxConcurrency()Get the maxConcurrency property: The max number of parallel files to handle when it is triggered.voidvalidate()Validates the instance.BlobTriggerwithAnnotations(List<Object> annotations)Set the annotations property: List of tags that can be used for describing the trigger.BlobTriggerwithDescription(String description)Set the description property: Trigger description.BlobTriggerwithFolderPath(String folderPath)Set the folderPath property: The path of the container/folder that will trigger the pipeline.BlobTriggerwithLinkedService(LinkedServiceReference linkedService)Set the linkedService property: The Azure Storage linked service reference.BlobTriggerwithMaxConcurrency(int maxConcurrency)Set the maxConcurrency property: The max number of parallel files to handle when it is triggered.BlobTriggerwithPipelines(List<TriggerPipelineReference> pipelines)Set the pipelines property: Pipelines that need to be started.-
Methods inherited from class com.azure.resourcemanager.datafactory.models.MultiplePipelineTrigger
pipelines
-
Methods inherited from class com.azure.resourcemanager.datafactory.models.Trigger
additionalProperties, annotations, description, runtimeState, withAdditionalProperties
-
-
-
-
Method Detail
-
withPipelines
public BlobTrigger withPipelines(List<TriggerPipelineReference> pipelines)
Set the pipelines property: Pipelines that need to be started.- Overrides:
withPipelinesin classMultiplePipelineTrigger- Parameters:
pipelines- the pipelines value to set.- Returns:
- the MultiplePipelineTrigger object itself.
-
withDescription
public BlobTrigger withDescription(String description)
Set the description property: Trigger description.- Overrides:
withDescriptionin classMultiplePipelineTrigger- Parameters:
description- the description value to set.- Returns:
- the Trigger object itself.
-
withAnnotations
public BlobTrigger withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the trigger.- Overrides:
withAnnotationsin classMultiplePipelineTrigger- Parameters:
annotations- the annotations value to set.- Returns:
- the Trigger object itself.
-
folderPath
public String folderPath()
Get the folderPath property: The path of the container/folder that will trigger the pipeline.- Returns:
- the folderPath value.
-
withFolderPath
public BlobTrigger withFolderPath(String folderPath)
Set the folderPath property: The path of the container/folder that will trigger the pipeline.- Parameters:
folderPath- the folderPath value to set.- Returns:
- the BlobTrigger object itself.
-
maxConcurrency
public int maxConcurrency()
Get the maxConcurrency property: The max number of parallel files to handle when it is triggered.- Returns:
- the maxConcurrency value.
-
withMaxConcurrency
public BlobTrigger withMaxConcurrency(int maxConcurrency)
Set the maxConcurrency property: The max number of parallel files to handle when it is triggered.- Parameters:
maxConcurrency- the maxConcurrency value to set.- Returns:
- the BlobTrigger object itself.
-
linkedService
public LinkedServiceReference linkedService()
Get the linkedService property: The Azure Storage linked service reference.- Returns:
- the linkedService value.
-
withLinkedService
public BlobTrigger withLinkedService(LinkedServiceReference linkedService)
Set the linkedService property: The Azure Storage linked service reference.- Parameters:
linkedService- the linkedService value to set.- Returns:
- the BlobTrigger object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classMultiplePipelineTrigger- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-