com.obs.services.model

## 类 AbstractNotification.Filter

- java.lang.Object
- - com.obs.services.model.AbstractNotification.Filter

- 封闭类:
    AbstractNotification

      public static class AbstractNotification.Filter
      extends Object

  List of filtering rules configured for event notification

- - ### 嵌套类概要

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

  - ### 构造器概要

    构造器
    构造器和说明
    `Filter()`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | `addFilterRule(String name, String value)` Add a filtering rule.
    `List<AbstractNotification.Filter.FilterRule>` | `getFilterRules()` Obtain the list of filtering rules.
    `void` | `setFilterRules(List<AbstractNotification.Filter.FilterRule> filterRules)` Set the list of filtering rules.
    `String` | `toString()`

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

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

- - ### 构造器详细资料

    - #### Filter

          public Filter()

  - ### 方法详细资料

    - #### getFilterRules

          public List<AbstractNotification.Filter.FilterRule> getFilterRules()

      Obtain the list of filtering rules.
      返回:
        Filtering rule list

    - #### setFilterRules

          public void setFilterRules(List<AbstractNotification.Filter.FilterRule> filterRules)

      Set the list of filtering rules.
      参数:
        `filterRules` - Filtering rule list

    - #### addFilterRule

          public void addFilterRule(String name,
                                    String value)

      Add a filtering rule.
      参数:
        `name` - Prefix or suffix of object names for filtering
        `value` - Object name keyword in the filtering rule

    - #### toString

          public String toString()

      覆盖:
        `toString` 在类中 `Object`

Copyright © 2021. All rights reserved.