public class S3EventNotification extends Object
Modifier and Type | Class and Description |
---|---|
static class |
S3EventNotification.RequestParametersEntity |
static class |
S3EventNotification.ResponseElementsEntity |
static class |
S3EventNotification.S3BucketEntity |
static class |
S3EventNotification.S3Entity |
static class |
S3EventNotification.S3EventNotificationRecord |
static class |
S3EventNotification.S3ObjectEntity |
static class |
S3EventNotification.UserIdentityEntity |
Constructor and Description |
---|
S3EventNotification(List<S3EventNotification.S3EventNotificationRecord> records) |
Modifier and Type | Method and Description |
---|---|
List<S3EventNotification.S3EventNotificationRecord> |
getRecords() |
static S3EventNotification |
parseJson(String json)
Parse the JSON string into a S3EventNotification object.
|
String |
toJson() |
public S3EventNotification(List<S3EventNotification.S3EventNotificationRecord> records)
public static S3EventNotification parseJson(String json)
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.
json
- JSON string to parse. Typically this is the body of your SQS
notification message body.public List<S3EventNotification.S3EventNotificationRecord> getRecords()
public String toJson()
Copyright © 2016. All rights reserved.