public static interface ProfileCredentialsProvider.Builder
| Modifier and Type | Method and Description |
|---|---|
ProfileCredentialsProvider |
build()
Create a profile credentials provider using the configuration applied to this builder.
|
ProfileCredentialsProvider.Builder |
withClientBootstrap(ClientBootstrap clientBootstrap)
Sets the client bootstrap (host resolver and event loop group) to use when making the connections
required by this provider.
|
ProfileCredentialsProvider.Builder |
withConfigFileNameOverride(String configFileNameOverride)
Sets the name of the config file to use.
|
ProfileCredentialsProvider.Builder |
withCredentialsFileNameOverride(String credentialsFileNameOverride)
Sets the name of the credentials file to use.
|
ProfileCredentialsProvider.Builder |
withProfileName(String profileName)
Sets the name of the profile to use.
|
ProfileCredentialsProvider.Builder |
withTlsContext(TlsContext tlsContext)
Sets the tls context to use for any secure network connections made while sourcing credentials.
|
ProfileCredentialsProvider.Builder withClientBootstrap(ClientBootstrap clientBootstrap)
clientBootstrap - client bootstrap to useProfileCredentialsProvider.Builder withTlsContext(TlsContext tlsContext)
tlsContext - the tls context to use when establishing network connectionsProfileCredentialsProvider.Builder withProfileName(String profileName)
profileName - the profile name to useProfileCredentialsProvider.Builder withConfigFileNameOverride(String configFileNameOverride)
configFileNameOverride - the config file name to useProfileCredentialsProvider.Builder withCredentialsFileNameOverride(String credentialsFileNameOverride)
credentialsFileNameOverride - the credentials file name to useProfileCredentialsProvider build()
Copyright © 2021. All rights reserved.