Class CustomEventsTrigger
- java.lang.Object
-
- com.azure.analytics.synapse.artifacts.models.Trigger
-
- com.azure.analytics.synapse.artifacts.models.MultiplePipelineTrigger
-
- com.azure.analytics.synapse.artifacts.models.CustomEventsTrigger
-
public class CustomEventsTrigger extends MultiplePipelineTrigger
Trigger that runs every time a custom event is received.
-
-
Constructor Summary
Constructors Constructor Description CustomEventsTrigger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Object>
getEvents()
Get the events property: The list of event types that cause this trigger to fire.String
getScope()
Get the scope property: The ARM resource ID of the Azure Event Grid Topic.String
getSubjectBeginsWith()
Get the subjectBeginsWith property: The event subject must begin with the pattern provided for trigger to fire.String
getSubjectEndsWith()
Get the subjectEndsWith property: The event subject must end with the pattern provided for trigger to fire.CustomEventsTrigger
setAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the trigger.CustomEventsTrigger
setDescription(String description)
Set the description property: Trigger description.CustomEventsTrigger
setEvents(List<Object> events)
Set the events property: The list of event types that cause this trigger to fire.CustomEventsTrigger
setPipelines(List<TriggerPipelineReference> pipelines)
Set the pipelines property: Pipelines that need to be started.CustomEventsTrigger
setScope(String scope)
Set the scope property: The ARM resource ID of the Azure Event Grid Topic.CustomEventsTrigger
setSubjectBeginsWith(String subjectBeginsWith)
Set the subjectBeginsWith property: The event subject must begin with the pattern provided for trigger to fire.CustomEventsTrigger
setSubjectEndsWith(String subjectEndsWith)
Set the subjectEndsWith property: The event subject must end with the pattern provided for trigger to fire.-
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
-
getSubjectBeginsWith
public String getSubjectBeginsWith()
Get the subjectBeginsWith property: The event subject must begin with the pattern provided for trigger to fire. At least one of these must be provided: subjectBeginsWith, subjectEndsWith.- Returns:
- the subjectBeginsWith value.
-
setSubjectBeginsWith
public CustomEventsTrigger setSubjectBeginsWith(String subjectBeginsWith)
Set the subjectBeginsWith property: The event subject must begin with the pattern provided for trigger to fire. At least one of these must be provided: subjectBeginsWith, subjectEndsWith.- Parameters:
subjectBeginsWith
- the subjectBeginsWith value to set.- Returns:
- the CustomEventsTrigger object itself.
-
getSubjectEndsWith
public String getSubjectEndsWith()
Get the subjectEndsWith property: The event subject must end with the pattern provided for trigger to fire. At least one of these must be provided: subjectBeginsWith, subjectEndsWith.- Returns:
- the subjectEndsWith value.
-
setSubjectEndsWith
public CustomEventsTrigger setSubjectEndsWith(String subjectEndsWith)
Set the subjectEndsWith property: The event subject must end with the pattern provided for trigger to fire. At least one of these must be provided: subjectBeginsWith, subjectEndsWith.- Parameters:
subjectEndsWith
- the subjectEndsWith value to set.- Returns:
- the CustomEventsTrigger object itself.
-
getEvents
public List<Object> getEvents()
Get the events property: The list of event types that cause this trigger to fire.- Returns:
- the events value.
-
setEvents
public CustomEventsTrigger setEvents(List<Object> events)
Set the events property: The list of event types that cause this trigger to fire.- Parameters:
events
- the events value to set.- Returns:
- the CustomEventsTrigger object itself.
-
getScope
public String getScope()
Get the scope property: The ARM resource ID of the Azure Event Grid Topic.- Returns:
- the scope value.
-
setScope
public CustomEventsTrigger setScope(String scope)
Set the scope property: The ARM resource ID of the Azure Event Grid Topic.- Parameters:
scope
- the scope value to set.- Returns:
- the CustomEventsTrigger object itself.
-
setPipelines
public CustomEventsTrigger 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 CustomEventsTrigger 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 CustomEventsTrigger 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.
-
-