public static class AwsCredentialsProvider.AwsCredentialsProviderChain extends Object implements AwsCredentialsProvider
AwsCredentialsProvider.AwsCredentialsProviderChain, AwsCredentialsProvider.EnvironmentCredentialsProvider, AwsCredentialsProvider.StaticCredentialsProvider| Modifier and Type | Field and Description |
|---|---|
(package private) List<AwsCredentialsProvider> |
providersLifo |
ACCESS_KEY_ENV_VAR, ACCESS_KEY_SYSTEM_PROPERTY, ALTERNATE_ACCESS_KEY_ENV_VAR, ALTERNATE_SECRET_KEY_ENV_VAR, SECRET_KEY_ENV_VAR, SECRET_KEY_SYSTEM_PROPERTY, SESSION_KEY_ENV_VAR, SESSION_TOKEN_SYSTEM_PROPERTY| Constructor and Description |
|---|
AwsCredentialsProviderChain() |
| Modifier and Type | Method and Description |
|---|---|
AwsCredentials |
getCredentials() |
void |
registerProvider(AwsCredentialsProvider provider) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdefaultCredentialsChain, environmentCredentials, propertiesCredentials, staticCredentials, staticCredentialsfinal List<AwsCredentialsProvider> providersLifo
public void registerProvider(AwsCredentialsProvider provider)
public AwsCredentials getCredentials()
getCredentials in interface AwsCredentialsProviderCopyright © 2018. All rights reserved.