From 7d4e7e5aae553f7c42c971a3114da5a1632417fd Mon Sep 17 00:00:00 2001 From: Manak Bisht <42811159+manakbisht@users.noreply.github.com> Date: Fri, 13 Sep 2024 14:20:58 +0530 Subject: [PATCH] Fix method name in S3 AsciiDoc (#1151) This is most definitely a typo, the correct method is `S3Template#createSignedGetURL`. --- docs/src/main/asciidoc/s3.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/main/asciidoc/s3.adoc b/docs/src/main/asciidoc/s3.adoc index bdb781925..8a7df66a7 100644 --- a/docs/src/main/asciidoc/s3.adoc +++ b/docs/src/main/asciidoc/s3.adoc @@ -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.