public static class ClientBuilderFactory.DefaultClientBuilder extends java.lang.Object implements ClientBuilderFactory, java.io.Serializable
ClientBuilderFactory
. This implementation can configure both,
synchronous clients using ApacheHttpClient
as well as asynchronous clients using NettyNioAsyncHttpClient
.ClientBuilderFactory.DefaultClientBuilder
Modifier and Type | Method and Description |
---|---|
void |
checkConfiguration(ClientConfiguration config,
AwsOptions options)
Check if all necessary configuration is available to create clients.
|
<BuilderT extends AwsClientBuilder<BuilderT,ClientT>,ClientT> |
create(BuilderT builder,
ClientConfiguration config,
AwsOptions options)
Configure a client builder
BuilderT using the provided ClientConfiguration and
fall back to the global defaults in AwsOptions where necessary. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
buildClient, create, defaultFactory, getFactory, validate
public void checkConfiguration(ClientConfiguration config, @Nullable AwsOptions options)
ClientBuilderFactory
checkConfiguration
in interface ClientBuilderFactory
public <BuilderT extends AwsClientBuilder<BuilderT,ClientT>,ClientT> BuilderT create(BuilderT builder, ClientConfiguration config, @Nullable AwsOptions options)
ClientBuilderFactory
BuilderT
using the provided ClientConfiguration
and
fall back to the global defaults in AwsOptions
where necessary.create
in interface ClientBuilderFactory