Class DefaultS3EventNotificationReader

    • Constructor Detail

      • DefaultS3EventNotificationReader

        public DefaultS3EventNotificationReader()
    • Method Detail

      • read

        public S3EventNotification read​(String event)
        Description copied from interface: S3EventNotificationReader
        Read a json formatted Amazon S3 Event Notification from a UTF-8 string. Will ignores all additional fields and missing fields will be set to null.
        Specified by:
        read in interface S3EventNotificationReader
        Parameters:
        event - UTF-8 json of the notification.
        Returns:
        S3EventNotification
      • read

        public S3EventNotification read​(byte[] event)
        Description copied from interface: S3EventNotificationReader
        Read a json formatted Amazon S3 Event Notification from a UTF-8 encoded byte array. Will ignores all additional fields and missing fields will be set to null.
        Specified by:
        read in interface S3EventNotificationReader
        Parameters:
        event - UTF-8 json of the notification.
        Returns:
        S3EventNotification