Class S3EventNotification
- java.lang.Object
-
- software.amazon.awssdk.eventnotifications.s3.model.S3EventNotification
-
public class S3EventNotification extends Object
A helper class that represents a strongly typed S3 EventNotification item sent to SQS, SNS, or Lambda.
-
-
Constructor Summary
Constructors Constructor Description S3EventNotification(List<S3EventNotificationRecord> records)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static S3EventNotificationfromJson(byte[] json)S3EventNotificationfromJson(InputStream json)static S3EventNotificationfromJson(String json)List<S3EventNotificationRecord>getRecords()inthashCode()StringtoJson()StringtoJsonPretty()StringtoString()
-
-
-
Constructor Detail
-
S3EventNotification
public S3EventNotification(List<S3EventNotificationRecord> records)
-
-
Method Detail
-
getRecords
public List<S3EventNotificationRecord> getRecords()
-
fromJson
public static S3EventNotification fromJson(String json)
-
fromJson
public static S3EventNotification fromJson(byte[] json)
-
fromJson
public S3EventNotification fromJson(InputStream json)
-
toJson
public String toJson()
-
toJsonPretty
public String toJsonPretty()
-
-