Package com.amazonaws.services.s3.event
Class S3EventNotification
java.lang.Object
com.amazonaws.services.s3.event.S3EventNotification
A helper class that represents a strongly typed S3 EventNotification item sent
to SQS, SNS, or Lambda.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
static class
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic S3EventNotification
Parse the JSON string into a S3EventNotification object.toJson()
-
Constructor Details
-
S3EventNotification
-
-
Method Details
-
parseJson
Parse the JSON string into a S3EventNotification object.
The function will try its best to parse input JSON string as best as it can. It will not fail even if the JSON string contains unknown properties. The function will throw AmazonClientException if the input JSON string is not valid JSON.
- Parameters:
json
- JSON string to parse. Typically this is the body of your SQS notification message body.- Returns:
- The resulting S3EventNotification object.
-
getRecords
- Returns:
- the records in this notification
-
toJson
- Returns:
- a JSON representation of this object
-