public class SourceIdentifier
extends java.lang.Object
source is usually the S3 object key and eventName defined by Amazon S3.
The following are valid source types: CloudTrailLog | Other| Constructor and Description |
|---|
SourceIdentifier() |
| Modifier and Type | Method and Description |
|---|---|
SourceType |
identify(java.lang.String source)
Identify the source type.
|
SourceType |
identifyWithEventName(java.lang.String source,
java.lang.String eventName)
Identify the source type with event action.
|
public SourceType identify(java.lang.String source)
source - the name of S3 object which is put to the bucket.SourceTypepublic SourceType identifyWithEventName(java.lang.String source, java.lang.String eventName)
source - the S3 object nameeventName - the event name defined by Amazon S3.SourceType