Subclass - Concrete builder type, used for better fluent methods.@NotThreadSafe public abstract class AwsAsyncClientBuilder<Subclass extends AwsAsyncClientBuilder,TypeToBuild> extends AwsClientBuilder<Subclass,TypeToBuild>
| 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, getCredentials, getMetricsCollector, getRegion, getRequestHandlers, setClientConfiguration, setCredentials, setMetricsCollector, setRegion, setRequestHandlers, withClientConfiguration, withCredentials, withMetricsCollector, 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>Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.