I am trying to upload a pdf file to s3 bucket using this code using amazonsdk 2 for java
PutObjectResponse trial = s3Client.putObject(PutObjectReq