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 String
folderPath()
Get the folderPath property: The path of the container/folder that will trigger the pipeline.LinkedServiceReference
linkedService()
Get the linkedService property: The Azure Storage linked service reference.int
maxConcurrency()
Get the maxConcurrency property: The max number of parallel files to handle when it is triggered.void
validate()
Validates the instance.BlobTrigger
withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the trigger.BlobTrigger
withDescription(String description)
Set the description property: Trigger description.BlobTrigger
withFolderPath(String folderPath)
Set the folderPath property: The path of the container/folder that will trigger the pipeline.BlobTrigger
withLinkedService(LinkedServiceReference linkedService)
Set the linkedService property: The Azure Storage linked service reference.BlobTrigger
withMaxConcurrency(int maxConcurrency)
Set the maxConcurrency property: The max number of parallel files to handle when it is triggered.BlobTrigger
withPipelines(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:
withPipelines
in 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:
withDescription
in 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:
withAnnotations
in 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:
validate
in classMultiplePipelineTrigger
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-