public static interface HttpCredentialsProvider.Builder<TypeToBuildT extends HttpCredentialsProvider,BuilderT extends HttpCredentialsProvider.Builder<?,?>>
Modifier and Type | Method and Description |
---|---|
BuilderT |
asyncCredentialUpdateEnabled(Boolean asyncCredentialUpdateEnabled)
Configure whether this provider should fetch credentials asynchronously in the background.
|
BuilderT |
asyncThreadName(String asyncThreadName)
When
asyncCredentialUpdateEnabled(Boolean) is true, this configures the name of the threads used for
credential refreshing. |
TypeToBuildT |
build()
Build the credentials provider based on the configuration on this builder.
|
BuilderT |
endpoint(String endpoint)
Override the default hostname (not path) that is used for credential refreshing.
|
BuilderT asyncCredentialUpdateEnabled(Boolean asyncCredentialUpdateEnabled)
AwsCredentialsProvider.resolveCredentials()
is called, but additional resources are used to maintain the
provider.
By default, this is disabled.
BuilderT asyncThreadName(String asyncThreadName)
asyncCredentialUpdateEnabled(Boolean)
is true, this configures the name of the threads used for
credential refreshing.BuilderT endpoint(String endpoint)
TypeToBuildT build()
Copyright © 2022. All rights reserved.