From 11e2f0ef49089233e48a84e95ae155a86234f7b2 Mon Sep 17 00:00:00 2001 From: scmacdon Date: Thu, 21 Mar 2024 14:32:18 -0400 Subject: [PATCH] updated S3 yaml file --- .doc_gen/metadata/s3_metadata.yaml | 4 ++-- .../java/com/example/s3/scenario/S3ObjectLockWorkflow.java | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.doc_gen/metadata/s3_metadata.yaml b/.doc_gen/metadata/s3_metadata.yaml index ea09718b80e..a549ae5b300 100644 --- a/.doc_gen/metadata/s3_metadata.yaml +++ b/.doc_gen/metadata/s3_metadata.yaml @@ -3067,10 +3067,10 @@ s3_Scenario_ObjectLock: excerpts: - description: Run an interactive scenario demonstrating &S3; object lock features. snippet_tags: - - s3.java2.async_stream.import + - S3LockWorkflow.javav2.ObjectLockWorkflow.main - description: A wrapper class for S3 functions. snippet_tags: - - s3.tm.java2.upload_stream.import + - S3LockWorkflow.javav2.S3ActionsWrapper.main .NET: versions: - sdk_version: 3 diff --git a/javav2/usecases/s3_object_lock_scenario/src/main/java/com/example/s3/scenario/S3ObjectLockWorkflow.java b/javav2/usecases/s3_object_lock_scenario/src/main/java/com/example/s3/scenario/S3ObjectLockWorkflow.java index 323e30954f2..4efd1e018de 100644 --- a/javav2/usecases/s3_object_lock_scenario/src/main/java/com/example/s3/scenario/S3ObjectLockWorkflow.java +++ b/javav2/usecases/s3_object_lock_scenario/src/main/java/com/example/s3/scenario/S3ObjectLockWorkflow.java @@ -333,7 +333,6 @@ private static String getFileExtension(String fileName) { } // Enable object lock on an existing bucket. - public static void configurationSetup() { String noLockBucketName = bucketName + "-no-lock"; String lockEnabledBucketName = bucketName + "-lock-enabled";