public class SampleSourceFilter extends java.lang.Object implements SourceFilter
| Constructor and Description |
|---|
SampleSourceFilter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
filterSource(CloudTrailSource source)
This Sample Source Filter filter out messages that have been received more than 3 times and
accountIDs in a certain range.
|
public boolean filterSource(CloudTrailSource source) throws CallbackException
filterSource in interface SourceFiltersource - The CloudTrailSource to filter.true if the source should be processed by the SourceFilter.CallbackException - When error happened during filtering source. CPL will eventually hand this
exception back to ExceptionHandler.