SubclassT - Concrete builder type, used for better fluent methods.@NotThreadSafe public abstract class AwsAsyncClientBuilder<SubclassT extends AwsAsyncClientBuilder,TypeToBuildT> extends AwsClientBuilder<SubclassT,TypeToBuildT>
AwsClientBuilder.EndpointConfiguration| Modifier and Type | Method | Description |
|---|---|---|
TypeToBuildT |
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.
|
SubclassT |
withExecutorFactory(ExecutorFactory executorFactory) |
Sets a custom executor service factory to use for the async clients.
|
getClientConfiguration, getCredentials, getEndpoint, getEndpointPrefix, getMetricsCollector, getRegion, getRequestHandlers, getServiceName, setClientConfiguration, setCredentials, setEndpointConfiguration, setMetricsCollector, setRegion, setRequestHandlers, withClientConfiguration, withCredentials, withEndpointConfiguration, withMetricsCollector, 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 SubclassT withExecutorFactory(ExecutorFactory executorFactory)
executorFactory - Factory supplying new instances of ExecutorServicepublic final TypeToBuildT build()
AwsClientBuilderbuild in class AwsClientBuilder<SubclassT extends AwsAsyncClientBuilder,TypeToBuildT>Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.