Skip to content

Commit c0cc36d

Browse files
authored
Update documentation for DefaultCredentialsProvider.create (#5009)
* Update documentation for DefaultCredentialsProvider.create * Update DefaultCredentialsProvider.java
1 parent e7bcd36 commit c0cc36d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

core/auth/src/main/java/software/amazon/awssdk/auth/credentials/DefaultCredentialsProvider.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,9 @@ private DefaultCredentialsProvider(Builder builder) {
7474
}
7575

7676
/**
77-
* Create an instance of the {@link DefaultCredentialsProvider} using the default configuration. Configuration can be
78-
* specified by creating an instance using the {@link #builder()}.
77+
* Returns the singleton instance of the {@link DefaultCredentialsProvider} using the default configuration.
78+
* Configuration can be specified by creating an instance using the {@link #builder()}. If you want to
79+
* create a new instance, use {@link #builder()} instead.
7980
*/
8081
public static DefaultCredentialsProvider create() {
8182
return DEFAULT_CREDENTIALS_PROVIDER;

0 commit comments

Comments
 (0)