Class DefaultChainCredentialsProvider.DefaultChainCredentialsProviderBuilder
java.lang.Object
software.amazon.awssdk.crt.auth.credentials.DefaultChainCredentialsProvider.DefaultChainCredentialsProviderBuilder
- Enclosing class:
- DefaultChainCredentialsProvider
public static class DefaultChainCredentialsProvider.DefaultChainCredentialsProviderBuilder
extends Object
A simple builder class for the default credentials provider chain and its options
Does not add reference to CRT resources
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates a new default credentials chain provider based on the builder's configurationwithClientBootstrap
(ClientBootstrap clientBootstrap) Sets what client bootstrap to use when establishing network connections for credentials sourcing
-
Constructor Details
-
DefaultChainCredentialsProviderBuilder
public DefaultChainCredentialsProviderBuilder()Default constructor
-
-
Method Details
-
withClientBootstrap
public DefaultChainCredentialsProvider.DefaultChainCredentialsProviderBuilder withClientBootstrap(ClientBootstrap clientBootstrap) Sets what client bootstrap to use when establishing network connections for credentials sourcing- Parameters:
clientBootstrap
- client bootstrap to use for network connection establishment- Returns:
- this builder object
-
build
Creates a new default credentials chain provider based on the builder's configuration- Returns:
- a new default credentials chain provider based on the builder's configuration
-