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 Constructor Description DefaultChainCredentialsProviderBuilder()
Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DefaultChainCredentialsProvider
build()
Creates a new default credentials chain provider based on the builder's configurationDefaultChainCredentialsProvider.DefaultChainCredentialsProviderBuilder
withClientBootstrap(ClientBootstrap clientBootstrap)
Sets what client bootstrap to use when establishing network connections for credentials sourcing
-
-
-
Method Detail
-
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
public DefaultChainCredentialsProvider 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
-
-