Class BlobEventsTrigger
java.lang.Object
com.azure.resourcemanager.datafactory.models.Trigger
com.azure.resourcemanager.datafactory.models.MultiplePipelineTrigger
com.azure.resourcemanager.datafactory.models.BlobEventsTrigger
Trigger that runs every time a Blob event occurs.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the blobPathBeginsWith property: The blob path must begin with the pattern provided for trigger to fire.Get the blobPathEndsWith property: The blob path must end with the pattern provided for trigger to fire.events()
Get the events property: The type of events that cause this trigger to fire.Get the ignoreEmptyBlobs property: If set to true, blobs with zero bytes will be ignored.scope()
Get the scope property: The ARM resource ID of the Storage Account.void
validate()
Validates the instance.withAnnotations
(List<Object> annotations) Set the annotations property: List of tags that can be used for describing the trigger.withBlobPathBeginsWith
(String blobPathBeginsWith) Set the blobPathBeginsWith property: The blob path must begin with the pattern provided for trigger to fire.withBlobPathEndsWith
(String blobPathEndsWith) Set the blobPathEndsWith property: The blob path must end with the pattern provided for trigger to fire.withDescription
(String description) Set the description property: Trigger description.withEvents
(List<BlobEventTypes> events) Set the events property: The type of events that cause this trigger to fire.withIgnoreEmptyBlobs
(Boolean ignoreEmptyBlobs) Set the ignoreEmptyBlobs property: If set to true, blobs with zero bytes will be ignored.withPipelines
(List<TriggerPipelineReference> pipelines) Set the pipelines property: Pipelines that need to be started.Set the scope property: The ARM resource ID of the Storage Account.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
-
Constructor Details
-
BlobEventsTrigger
public BlobEventsTrigger()Creates an instance of BlobEventsTrigger class.
-
-
Method Details
-
withPipelines
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
Set the description property: Trigger description.- Overrides:
withDescription
in classMultiplePipelineTrigger
- 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 classMultiplePipelineTrigger
- Parameters:
annotations
- the annotations value to set.- Returns:
- the Trigger object itself.
-
blobPathBeginsWith
Get the blobPathBeginsWith property: The blob path must begin with the pattern provided for trigger to fire. For example, '/records/blobs/december/' will only fire the trigger for blobs in the december folder under the records container. At least one of these must be provided: blobPathBeginsWith, blobPathEndsWith.- Returns:
- the blobPathBeginsWith value.
-
withBlobPathBeginsWith
Set the blobPathBeginsWith property: The blob path must begin with the pattern provided for trigger to fire. For example, '/records/blobs/december/' will only fire the trigger for blobs in the december folder under the records container. At least one of these must be provided: blobPathBeginsWith, blobPathEndsWith.- Parameters:
blobPathBeginsWith
- the blobPathBeginsWith value to set.- Returns:
- the BlobEventsTrigger object itself.
-
blobPathEndsWith
Get the blobPathEndsWith property: The blob path must end with the pattern provided for trigger to fire. For example, 'december/boxes.csv' will only fire the trigger for blobs named boxes in a december folder. At least one of these must be provided: blobPathBeginsWith, blobPathEndsWith.- Returns:
- the blobPathEndsWith value.
-
withBlobPathEndsWith
Set the blobPathEndsWith property: The blob path must end with the pattern provided for trigger to fire. For example, 'december/boxes.csv' will only fire the trigger for blobs named boxes in a december folder. At least one of these must be provided: blobPathBeginsWith, blobPathEndsWith.- Parameters:
blobPathEndsWith
- the blobPathEndsWith value to set.- Returns:
- the BlobEventsTrigger object itself.
-
ignoreEmptyBlobs
Get the ignoreEmptyBlobs property: If set to true, blobs with zero bytes will be ignored.- Returns:
- the ignoreEmptyBlobs value.
-
withIgnoreEmptyBlobs
Set the ignoreEmptyBlobs property: If set to true, blobs with zero bytes will be ignored.- Parameters:
ignoreEmptyBlobs
- the ignoreEmptyBlobs value to set.- Returns:
- the BlobEventsTrigger object itself.
-
events
Get the events property: The type of events that cause this trigger to fire.- Returns:
- the events value.
-
withEvents
Set the events property: The type of events that cause this trigger to fire.- Parameters:
events
- the events value to set.- Returns:
- the BlobEventsTrigger object itself.
-
scope
Get the scope property: The ARM resource ID of the Storage Account.- Returns:
- the scope value.
-
withScope
Set the scope property: The ARM resource ID of the Storage Account.- Parameters:
scope
- the scope value to set.- Returns:
- the BlobEventsTrigger object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classMultiplePipelineTrigger
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-