protected abstract static class HttpCredentialsProvider.BuilderImpl<TypeToBuildT extends HttpCredentialsProvider,BuilderT extends HttpCredentialsProvider.Builder> extends Object implements HttpCredentialsProvider.Builder<TypeToBuildT,BuilderT>
InstanceProfileCredentialsProvider
.Modifier | Constructor and Description |
---|---|
protected |
BuilderImpl() |
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) |
void |
setAsyncCredentialUpdateEnabled(boolean asyncCredentialUpdateEnabled) |
void |
setAsyncThreadName(String asyncThreadName) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
build
public BuilderT asyncCredentialUpdateEnabled(Boolean asyncCredentialUpdateEnabled)
HttpCredentialsProvider.Builder
HttpCredentialsProvider.resolveCredentials()
is called, but additional resources are used to maintain the
provider.
By default, this is disabled.
asyncCredentialUpdateEnabled
in interface HttpCredentialsProvider.Builder<TypeToBuildT extends HttpCredentialsProvider,BuilderT extends HttpCredentialsProvider.Builder>
public void setAsyncCredentialUpdateEnabled(boolean asyncCredentialUpdateEnabled)
public BuilderT asyncThreadName(String asyncThreadName)
asyncThreadName
in interface HttpCredentialsProvider.Builder<TypeToBuildT extends HttpCredentialsProvider,BuilderT extends HttpCredentialsProvider.Builder>
public void setAsyncThreadName(String asyncThreadName)
Copyright © 2020. All rights reserved.