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, getCredentials, getEndpoint, getMetricsCollector, getRegion, getRequestHandlers, setClientConfiguration, setCredentials, setEndpointConfiguration, setMetricsCollector, setRegion, setRequestHandlers, withClientConfiguration, withCredentials, withEndpointConfiguration, withMetricsCollector, withRegion, withRegion, withRequestHandlers
public final ExecutorFactory getExecutorFactory()
ExecutorFactory
currently configured by the client.public final void setExecutorFactory(ExecutorFactory executorFactory)
executorFactory
- Factory supplying new instances of ExecutorService
public final Subclass withExecutorFactory(ExecutorFactory executorFactory)
executorFactory
- Factory supplying new instances of ExecutorService
public final TypeToBuild build()
AwsClientBuilder
build
in class AwsClientBuilder<Subclass extends AwsAsyncClientBuilder,TypeToBuild>
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.