类 AbstractNotification

直接已知子类:
FunctionGraphConfiguration, TopicConfiguration

public class AbstractNotification extends HeaderResponse
Abstract class for event notification configuration
  • 字段详细资料

  • 构造器详细资料

    • AbstractNotification

      public AbstractNotification()
    • AbstractNotification

      public AbstractNotification(String id, AbstractNotification.Filter filter, List<EventTypeEnum> events)
      Constructor
      参数:
      id - Event notification configuration ID
      filter - Filtering rules
      events - List of event types that need to be notified
  • 方法详细资料

    • getId

      public String getId()
      Obtain the event notification configuration ID.
      返回:
      Event notification configuration ID
    • setId

      public void setId(String id)
      Set the event notification configuration ID.
      参数:
      id - Event notification configuration ID
    • getEvents

      @Deprecated public List<String> getEvents()
      已过时。
    • setEvents

      @Deprecated public void setEvents(List<String> events)
      已过时。
    • getEventTypes

      public List<EventTypeEnum> getEventTypes()
      Obtain the list of event types that need to be notified.
      返回:
      List of event types
    • setEventTypes

      public void setEventTypes(List<EventTypeEnum> events)
      Set the list of event types that need to be notified.
      参数:
      events - List of event types
    • getFilter

      public AbstractNotification.Filter getFilter()
      Obtain the filtering rule group.
      返回:
      Filtering rules
    • setFilter

      public void setFilter(AbstractNotification.Filter filter)
      Set the filtering rule group.
      参数:
      filter - Filtering rules