Class CustomEventsTrigger


public class CustomEventsTrigger extends MultiplePipelineTrigger
Trigger that runs every time a custom event is received.
  • Constructor Details

    • CustomEventsTrigger

      public CustomEventsTrigger()
  • Method Details

    • 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 class MultiplePipelineTrigger
      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 class MultiplePipelineTrigger
      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 class MultiplePipelineTrigger
      Parameters:
      annotations - the annotations value to set.
      Returns:
      the Trigger object itself.