From 30caceb49f740c8455ed129bd9d2c41657c90cff Mon Sep 17 00:00:00 2001 From: Saijad Dhuka Date: Wed, 8 Mar 2023 10:16:22 -0600 Subject: [PATCH] fix documentation --- .../s3/options/AWSS3StorageGetPresignedUrlOptions.java | 4 ++-- .../storage/s3/options/AWSS3StorageUploadFileOptions.java | 4 ++-- .../s3/options/AWSS3StorageUploadInputStreamOptions.java | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/aws-storage-s3/src/main/java/com/amplifyframework/storage/s3/options/AWSS3StorageGetPresignedUrlOptions.java b/aws-storage-s3/src/main/java/com/amplifyframework/storage/s3/options/AWSS3StorageGetPresignedUrlOptions.java index cb824d28a6..d4bad7e8db 100644 --- a/aws-storage-s3/src/main/java/com/amplifyframework/storage/s3/options/AWSS3StorageGetPresignedUrlOptions.java +++ b/aws-storage-s3/src/main/java/com/amplifyframework/storage/s3/options/AWSS3StorageGetPresignedUrlOptions.java @@ -121,8 +121,8 @@ public static final class Builder extends StorageGetUrlOptions.Builder private boolean useAccelerateEndpoint; /** - * Configure to use acceleration mode on new StorageDownloadFileOptions instances. - * @param useAccelerateEndpoint flag to represent acceleration mode for new DownloadFileOptions instance + * Configure to use acceleration mode on new StorageGetPresignedUrlOptions instances. + * @param useAccelerateEndpoint flag to represent acceleration mode for new GetPresignedUrlOptions instance * @return Current Builder instance for fluent chaining */ public Builder setUseAccelerateEndpoint(boolean useAccelerateEndpoint) { diff --git a/aws-storage-s3/src/main/java/com/amplifyframework/storage/s3/options/AWSS3StorageUploadFileOptions.java b/aws-storage-s3/src/main/java/com/amplifyframework/storage/s3/options/AWSS3StorageUploadFileOptions.java index 358cc19db1..d855462523 100644 --- a/aws-storage-s3/src/main/java/com/amplifyframework/storage/s3/options/AWSS3StorageUploadFileOptions.java +++ b/aws-storage-s3/src/main/java/com/amplifyframework/storage/s3/options/AWSS3StorageUploadFileOptions.java @@ -149,8 +149,8 @@ private Builder() { } /** - * Configure to use acceleration mode. - * @param useAccelerateEndpoint flag to represent acceleration mode for new DownloadFileOptions instance + * Configure to use acceleration mode on new StorageUploadFileOptions instances. + * @param useAccelerateEndpoint flag to represent acceleration mode for new UploadFileOptions instance * @return Current Builder instance for fluent chaining */ public Builder setUseAccelerateEndpoint(boolean useAccelerateEndpoint) { diff --git a/aws-storage-s3/src/main/java/com/amplifyframework/storage/s3/options/AWSS3StorageUploadInputStreamOptions.java b/aws-storage-s3/src/main/java/com/amplifyframework/storage/s3/options/AWSS3StorageUploadInputStreamOptions.java index a8f1b895f2..77bf047767 100644 --- a/aws-storage-s3/src/main/java/com/amplifyframework/storage/s3/options/AWSS3StorageUploadInputStreamOptions.java +++ b/aws-storage-s3/src/main/java/com/amplifyframework/storage/s3/options/AWSS3StorageUploadInputStreamOptions.java @@ -149,8 +149,8 @@ private Builder() { } /** - * Configure to use acceleration mode on new StorageDownloadFileOptions instances. - * @param useAccelerateEndpoint flag to represent acceleration mode for new DownloadFileOptions instance + * Configure to use acceleration mode on new StorageUploadInputStreamOptions instances. + * @param useAccelerateEndpoint flag to represent acceleration mode for new UploadInputStreamOptions instance * @return Current Builder instance for fluent chaining */ public Builder setUseAccelerateEndpoint(boolean useAccelerateEndpoint) {