Subclass - Concrete builder type, used for better fluent methods.@NotThreadSafe public abstract class AwsAsyncClientBuilder<Subclass extends AwsAsyncClientBuilder,TypeToBuild> extends AwsClientBuilder<Subclass,TypeToBuild>
AwsClientBuilder.EndpointConfiguration| Modifier and Type | Method and Description |
|---|---|
TypeToBuild |
build()
Builds a client with the configure properties.
|
ExecutorFactory |
getExecutorFactory() |
void |
setExecutorFactory(ExecutorFactory executorFactory)
Sets a custom executor service factory to use for the async clients.
|
Subclass |
withExecutorFactory(ExecutorFactory executorFactory)
Sets a custom executor service factory to use for the async clients.
|
getClientConfiguration, getClientSideMonitoringConfigurationProvider, getCredentials, getEndpoint, getMetricsCollector, getMonitoringListener, getRegion, getRequestHandlers, setClientConfiguration, setClientSideMonitoringConfigurationProvider, setCredentials, setEndpointConfiguration, setMetricsCollector, setMonitoringListener, setRegion, setRequestHandlers, withClientConfiguration, withClientSideMonitoringConfigurationProvider, withCredentials, withEndpointConfiguration, withMetricsCollector, withMonitoringListener, withRegion, withRegion, withRequestHandlerspublic final ExecutorFactory getExecutorFactory()
ExecutorFactory currently configured by the client.public final void setExecutorFactory(ExecutorFactory executorFactory)
executorFactory - Factory supplying new instances of ExecutorServicepublic final Subclass withExecutorFactory(ExecutorFactory executorFactory)
executorFactory - Factory supplying new instances of ExecutorServicepublic final TypeToBuild build()
AwsClientBuilderbuild in class AwsClientBuilder<Subclass extends AwsAsyncClientBuilder,TypeToBuild>