public class DefaultEventFilter extends java.lang.Object implements EventFilter
Constructor and Description |
---|
DefaultEventFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
filterEvent(CloudTrailEvent event)
A callback method used to filter a
CloudTrailEvent prior to process. |
public boolean filterEvent(CloudTrailEvent event)
EventFilter
CloudTrailEvent
prior to process.
For performance, the event object is not a copy; you should only filter the event here, not change its contents.
filterEvent
in interface EventFilter
event
- The CloudTrailEvent
to filter.true
If the event should be processed by the EventsProcessor
.