com.obs.services.model

## 类 AbstractNotification

- java.lang.Object
- - com.obs.services.internal.InternalHeaderResponse
  - - com.obs.services.model.HeaderResponse
    - - com.obs.services.model.AbstractNotification

- 直接已知子类:
    FunctionGraphConfiguration, TopicConfiguration

      public class AbstractNotification
      extends HeaderResponse

  Abstract class for event notification configuration

- - ### 嵌套类概要

    嵌套类
    限定符和类型 | 类和说明
    --- | ---
    `static class` | `AbstractNotification.Filter` List of filtering rules configured for event notification

  - ### 字段概要

    字段
    限定符和类型 | 字段和说明
    --- | ---
    `protected List<EventTypeEnum>` | `events`
    `protected AbstractNotification.Filter` | `filter`
    `protected String` | `id`

    - ### 从类继承的字段 com.obs.services.internal.InternalHeaderResponse

      `responseHeaders, statusCode`

  - ### 构造器概要

    构造器
    构造器和说明
    `AbstractNotification()`
    `AbstractNotification(String id, AbstractNotification.Filter filter, List<EventTypeEnum> events)` Constructor

  - ### 方法概要

    所有方法 实例方法 具体方法 已过时的方法
    限定符和类型 | 方法和说明
    --- | ---
    `List<String>` | `getEvents()` 已过时。
    `List<EventTypeEnum>` | `getEventTypes()` Obtain the list of event types that need to be notified.
    `AbstractNotification.Filter` | `getFilter()` Obtain the filtering rule group.
    `String` | `getId()` Obtain the event notification configuration ID.
    `void` | `setEvents(List<String> events)` 已过时。
    `void` | `setEventTypes(List<EventTypeEnum> events)` Set the list of event types that need to be notified.
    `void` | `setFilter(AbstractNotification.Filter filter)` Set the filtering rule group.
    `void` | `setId(String id)` Set the event notification configuration ID.

    - ### 从类继承的方法 com.obs.services.model.HeaderResponse

      `getRequestId, getResponseHeaders, getStatusCode, toString`

    - ### 从类继承的方法 com.obs.services.internal.InternalHeaderResponse

      `setResponseHeaders, setStatusCode`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### 字段详细资料

    - #### id

          protected String id

    - #### filter

          protected AbstractNotification.Filter filter

    - #### events

          protected List<EventTypeEnum> events

  - ### 构造器详细资料

    - #### 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

Copyright © 2021. All rights reserved.