Skip to content

Commit

Permalink
Update documentation for DefaultCredentialsProvider.create (aws#5009)
Browse files Browse the repository at this point in the history
* Update documentation for DefaultCredentialsProvider.create

* Update DefaultCredentialsProvider.java
  • Loading branch information
zoewangg authored and akidambisrinivasan committed Jun 28, 2024
1 parent cdceed5 commit f096de2
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f096de2

Please sign in to comment.