aws / aws/aws-lambda-java-libs

Add a toString method for S3EventNotificationRecord class

Open
#301 2 comments 0 reactions 0 assignees View on GitHub
events-v4
Dominant language
Java
Stars
548
Forks
241
Avg merge
2d 5m
Merged PRs (30d)
11

Description

Currently while logging S3Event instance , toString just logs hash code .

`S3Event` `toString()` method in turn calls `S3EventNotificationRecord` `toString()` method which is not present . Hence it defaults to plain objects `toString()` method which in turn just logs hash code rendering `toString()` method of `S3Event ` class useless .

https://github.com/aws/aws-lambda-java-libs/blob/4fe08f417a4f5b612bb8d88006da3341eb6d3e51/aws-lambda-java-events/src/main/java/com/amazonaws/services/lambda/runtime/events/S3Event.java#L25

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.