Class BlobEventsTrigger
- java.lang.Object
-
- com.azure.analytics.synapse.artifacts.models.Trigger
-
- com.azure.analytics.synapse.artifacts.models.MultiplePipelineTrigger
-
- com.azure.analytics.synapse.artifacts.models.BlobEventsTrigger
-
public class BlobEventsTrigger extends MultiplePipelineTrigger
Trigger that runs every time a Blob event occurs.
-
-
Constructor Summary
Constructors Constructor Description BlobEventsTrigger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBlobPathBeginsWith()
Get the blobPathBeginsWith property: The blob path must begin with the pattern provided for trigger to fire.String
getBlobPathEndsWith()
Get the blobPathEndsWith property: The blob path must end with the pattern provided for trigger to fire.List<BlobEventType>
getEvents()
Get the events property: The type of events that cause this trigger to fire.String
getScope()
Get the scope property: The ARM resource ID of the Storage Account.Boolean
isIgnoreEmptyBlobs()
Get the ignoreEmptyBlobs property: If set to true, blobs with zero bytes will be ignored.BlobEventsTrigger
setAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the trigger.BlobEventsTrigger
setBlobPathBeginsWith(String blobPathBeginsWith)
Set the blobPathBeginsWith property: The blob path must begin with the pattern provided for trigger to fire.BlobEventsTrigger
setBlobPathEndsWith(String blobPathEndsWith)
Set the blobPathEndsWith property: The blob path must end with the pattern provided for trigger to fire.BlobEventsTrigger
setDescription(String description)
Set the description property: Trigger description.BlobEventsTrigger
setEvents(List<BlobEventType> events)
Set the events property: The type of events that cause this trigger to fire.BlobEventsTrigger
setIgnoreEmptyBlobs(Boolean ignoreEmptyBlobs)
Set the ignoreEmptyBlobs property: If set to true, blobs with zero bytes will be ignored.BlobEventsTrigger
setPipelines(List<TriggerPipelineReference> pipelines)
Set the pipelines property: Pipelines that need to be started.BlobEventsTrigger
setScope(String scope)
Set the scope property: The ARM resource ID of the Storage Account.-
Methods inherited from class com.azure.analytics.synapse.artifacts.models.MultiplePipelineTrigger
getPipelines
-
Methods inherited from class com.azure.analytics.synapse.artifacts.models.Trigger
getAdditionalProperties, getAnnotations, getDescription, getRuntimeState, setAdditionalProperties
-
-
-
-
Method Detail
-
getBlobPathBeginsWith
public String getBlobPathBeginsWith()
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.
-
setBlobPathBeginsWith
public BlobEventsTrigger setBlobPathBeginsWith(String blobPathBeginsWith)
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.
-
getBlobPathEndsWith
public String getBlobPathEndsWith()
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.
-
setBlobPathEndsWith
public BlobEventsTrigger setBlobPathEndsWith(String blobPathEndsWith)
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.
-
isIgnoreEmptyBlobs
public Boolean isIgnoreEmptyBlobs()
Get the ignoreEmptyBlobs property: If set to true, blobs with zero bytes will be ignored.- Returns:
- the ignoreEmptyBlobs value.
-
setIgnoreEmptyBlobs
public BlobEventsTrigger setIgnoreEmptyBlobs(Boolean ignoreEmptyBlobs)
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.
-
getEvents
public List<BlobEventType> getEvents()
Get the events property: The type of events that cause this trigger to fire.- Returns:
- the events value.
-
setEvents
public BlobEventsTrigger setEvents(List<BlobEventType> events)
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.
-
getScope
public String getScope()
Get the scope property: The ARM resource ID of the Storage Account.- Returns:
- the scope value.
-
setScope
public BlobEventsTrigger setScope(String scope)
Set the scope property: The ARM resource ID of the Storage Account.- Parameters:
scope
- the scope value to set.- Returns:
- the BlobEventsTrigger object itself.
-
setPipelines
public BlobEventsTrigger setPipelines(List<TriggerPipelineReference> pipelines)
Set the pipelines property: Pipelines that need to be started.- Overrides:
setPipelines
in classMultiplePipelineTrigger
- Parameters:
pipelines
- the pipelines value to set.- Returns:
- the MultiplePipelineTrigger object itself.
-
setDescription
public BlobEventsTrigger setDescription(String description)
Set the description property: Trigger description.- Overrides:
setDescription
in classMultiplePipelineTrigger
- Parameters:
description
- the description value to set.- Returns:
- the Trigger object itself.
-
setAnnotations
public BlobEventsTrigger setAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the trigger.- Overrides:
setAnnotations
in classMultiplePipelineTrigger
- Parameters:
annotations
- the annotations value to set.- Returns:
- the Trigger object itself.
-
-