Skip to content

Commit

Permalink
Fix method name in S3 AsciiDoc (#1151)
Browse files Browse the repository at this point in the history
This is most definitely a typo, the correct method is `S3Template#createSignedGetURL`.
  • Loading branch information
manakbisht authored Sep 13, 2024
1 parent 57e94c2 commit 7d4e7e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/main/asciidoc/s3.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ s3Template.upload(BUCKET, "file.txt", is, ObjectMetadata.builder().contentType("
Another feature of `S3Template` is the ability to generate signed URLs for getting/putting S3 objects in a single method call.
[source,java]
----
URL signedGetUrl = s3Template.createSignedGetUrl("bucket_name", "file.txt", Duration.ofMinutes(5));
URL signedGetUrl = s3Template.createSignedGetURL("bucket_name", "file.txt", Duration.ofMinutes(5));
----

`S3Template` also allows storing & retrieving Java objects.
Expand Down

0 comments on commit 7d4e7e5

Please sign in to comment.