public static interface AwsCredentialsProviderChain.Builder
AwsCredentialsProviderChain
that allows controlling its behavior.Modifier and Type | Method and Description |
---|---|
AwsCredentialsProviderChain.Builder |
addCredentialsProvider(AwsCredentialsProvider credentialsProviders)
Add a credential provider to the chain, after the credential providers that have already been configured.
|
AwsCredentialsProviderChain |
build() |
AwsCredentialsProviderChain.Builder |
credentialsProviders(AwsCredentialsProvider... credentialsProviders)
Configure the credentials providers that should be checked for credentials, in the order they should be checked.
|
AwsCredentialsProviderChain.Builder |
credentialsProviders(Collection<? extends AwsCredentialsProvider> credentialsProviders)
Configure the credentials providers that should be checked for credentials, in the order they should be checked.
|
AwsCredentialsProviderChain.Builder |
reuseLastProviderEnabled(Boolean reuseLastProviderEnabled)
Controls whether the chain should reuse the last successful credentials provider in the chain.
|
AwsCredentialsProviderChain.Builder reuseLastProviderEnabled(Boolean reuseLastProviderEnabled)
By default, this is enabled
AwsCredentialsProviderChain.Builder credentialsProviders(Collection<? extends AwsCredentialsProvider> credentialsProviders)
AwsCredentialsProviderChain.Builder credentialsProviders(AwsCredentialsProvider... credentialsProviders)
AwsCredentialsProviderChain.Builder addCredentialsProvider(AwsCredentialsProvider credentialsProviders)
AwsCredentialsProviderChain build()
Copyright © 2019. All rights reserved.