类 AbstractNotification
java.lang.Object
cn.warpin.thirdPart.huawei.obs.obs.services.internal.service.InternalHeaderResponse
cn.warpin.thirdPart.huawei.obs.obs.services.model.HeaderResponse
cn.warpin.thirdPart.huawei.obs.obs.services.model.AbstractNotification
Abstract class for event notification configuration
-
嵌套类概要
嵌套类修饰符和类型类说明static classList of filtering rules configured for event notification -
字段概要
字段从类继承的字段 cn.warpin.thirdPart.huawei.obs.obs.services.internal.service.InternalHeaderResponse
originalHeaders, responseHeaders, statusCode -
构造器概要
构造器构造器说明AbstractNotification(String id, AbstractNotification.Filter filter, List<EventTypeEnum> events) Constructor -
方法概要
修饰符和类型方法说明已过时。Obtain the list of event types that need to be notified.Obtain the filtering rule group.getId()Obtain the event notification configuration ID.void已过时。voidsetEventTypes(List<EventTypeEnum> events) Set the list of event types that need to be notified.voidsetFilter(AbstractNotification.Filter filter) Set the filtering rule group.voidSet the event notification configuration ID.从类继承的方法 cn.warpin.thirdPart.huawei.obs.obs.services.model.HeaderResponse
getOriginalHeaders, getRequestId, getResponseHeaders, getStatusCode, toString从类继承的方法 cn.warpin.thirdPart.huawei.obs.obs.services.internal.service.InternalHeaderResponse
setOriginalHeaders, setResponseHeaders, setStatusCode
-
字段详细资料
-
id
-
filter
-
events
-
-
构造器详细资料
-
AbstractNotification
public AbstractNotification() -
AbstractNotification
public AbstractNotification(String id, AbstractNotification.Filter filter, List<EventTypeEnum> events) Constructor- 参数:
id- Event notification configuration IDfilter- Filtering rulesevents- List of event types that need to be notified
-
-
方法详细资料
-
getId
Obtain the event notification configuration ID.- 返回:
- Event notification configuration ID
-
setId
Set the event notification configuration ID.- 参数:
id- Event notification configuration ID
-
getEvents
已过时。 -
setEvents
已过时。 -
getEventTypes
Obtain the list of event types that need to be notified.- 返回:
- List of event types
-
setEventTypes
Set the list of event types that need to be notified.- 参数:
events- List of event types
-
getFilter
Obtain the filtering rule group.- 返回:
- Filtering rules
-
setFilter
Set the filtering rule group.- 参数:
filter- Filtering rules
-