Class CustomEventsTrigger


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

      • CustomEventsTrigger

        public CustomEventsTrigger()
    • 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.
      • 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.