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 boolean
equals(Object o)
static S3EventNotification
fromJson(byte[] json)
S3EventNotification
fromJson(InputStream json)
static S3EventNotification
fromJson(String json)
List<S3EventNotificationRecord>
getRecords()
int
hashCode()
String
toJson()
String
toJsonPretty()
String
toString()
-
-
-
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()
-
-