From f096de26627bc91029232e3c10cc311e4bab4a61 Mon Sep 17 00:00:00 2001 From: Zoe Wang <33073555+zoewangg@users.noreply.github.com> Date: Wed, 13 Mar 2024 10:28:21 -0700 Subject: [PATCH] Update documentation for DefaultCredentialsProvider.create (#5009) * Update documentation for DefaultCredentialsProvider.create * Update DefaultCredentialsProvider.java --- .../awssdk/auth/credentials/DefaultCredentialsProvider.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/auth/src/main/java/software/amazon/awssdk/auth/credentials/DefaultCredentialsProvider.java b/core/auth/src/main/java/software/amazon/awssdk/auth/credentials/DefaultCredentialsProvider.java index 5b8cd7fffc87..c0e46006c2a3 100644 --- a/core/auth/src/main/java/software/amazon/awssdk/auth/credentials/DefaultCredentialsProvider.java +++ b/core/auth/src/main/java/software/amazon/awssdk/auth/credentials/DefaultCredentialsProvider.java @@ -74,8 +74,9 @@ private DefaultCredentialsProvider(Builder builder) { } /** - * Create an instance of the {@link DefaultCredentialsProvider} using the default configuration. Configuration can be - * specified by creating an instance using the {@link #builder()}. + * Returns the singleton instance of the {@link DefaultCredentialsProvider} using the default configuration. + * Configuration can be specified by creating an instance using the {@link #builder()}. If you want to + * create a new instance, use {@link #builder()} instead. */ public static DefaultCredentialsProvider create() { return DEFAULT_CREDENTIALS_PROVIDER;