Share via


BlobTrigger Class

public final class BlobTrigger
extends MultiplePipelineTrigger

Trigger that runs every time the selected Blob container changes.

Constructor Summary

Constructor Description
BlobTrigger()

Creates an instance of BlobTrigger class.

Method Summary

Modifier and Type Method and Description
String folderPath()

Get the folderPath property: The path of the container/folder that will trigger the pipeline.

static BlobTrigger fromJson(JsonReader jsonReader)

Reads an instance of BlobTrigger from the JsonReader.

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.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Trigger type.

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 MultiplePipelineTrigger

Methods inherited from Trigger

Methods inherited from java.lang.Object

Constructor Details

BlobTrigger

public BlobTrigger()

Creates an instance of BlobTrigger class.

Method Details

folderPath

public String folderPath()

Get the folderPath property: The path of the container/folder that will trigger the pipeline.

Returns:

the folderPath value.

fromJson

public static BlobTrigger fromJson(JsonReader jsonReader)

Reads an instance of BlobTrigger from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of BlobTrigger if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

linkedService

public LinkedServiceReference linkedService()

Get the linkedService property: The Azure Storage linked service reference.

Returns:

the linkedService value.

maxConcurrency

public int maxConcurrency()

Get the maxConcurrency property: The max number of parallel files to handle when it is triggered.

Returns:

the maxConcurrency value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

BlobTrigger.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Trigger type.

Overrides:

BlobTrigger.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

BlobTrigger.validate()

withAnnotations

public BlobTrigger withAnnotations(List<Object> annotations)

Set the annotations property: List of tags that can be used for describing the trigger.

Overrides:

BlobTrigger.withAnnotations(List<Object> annotations)

Parameters:

annotations

withDescription

public BlobTrigger withDescription(String description)

Set the description property: Trigger description.

Overrides:

BlobTrigger.withDescription(String description)

Parameters:

description

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.

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.

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.

withPipelines

public BlobTrigger withPipelines(List<TriggerPipelineReference> pipelines)

Set the pipelines property: Pipelines that need to be started.

Overrides:

BlobTrigger.withPipelines(List<TriggerPipelineReference> pipelines)

Parameters:

pipelines

Applies to