Subclass
- Concrete builder type, used for better fluent methods.TypeToBuild
- Client interface this builder can build.@NotThreadSafe public abstract class AwsSyncClientBuilder<Subclass extends AwsSyncClientBuilder,TypeToBuild> extends AwsClientBuilder<Subclass,TypeToBuild>
AwsClientBuilder.EndpointConfiguration, AwsClientBuilder.SyncBuilderParams
Modifier | Constructor and Description |
---|---|
protected |
AwsSyncClientBuilder(ClientConfigurationFactory clientConfigFactory) |
protected |
AwsSyncClientBuilder(ClientConfigurationFactory clientConfigFactory,
AwsRegionProvider regionProvider) |
Modifier and Type | Method and Description |
---|---|
TypeToBuild |
build()
Builds a client with the configure properties.
|
protected abstract TypeToBuild |
build(AwsSyncClientParams clientParams)
Overriden by subclasses to call the client constructor.
|
getClientConfiguration, getCredentials, getEndpoint, getMetricsCollector, getRegion, getRequestHandlers, getSubclass, getSyncClientParams, setClientConfiguration, setCredentials, setEndpointConfiguration, setMetricsCollector, setRegion, setRequestHandlers, withClientConfiguration, withCredentials, withEndpointConfiguration, withMetricsCollector, withRegion, withRegion, withRequestHandlers
protected AwsSyncClientBuilder(ClientConfigurationFactory clientConfigFactory)
protected AwsSyncClientBuilder(ClientConfigurationFactory clientConfigFactory, AwsRegionProvider regionProvider)
public final TypeToBuild build()
AwsClientBuilder
build
in class AwsClientBuilder<Subclass extends AwsSyncClientBuilder,TypeToBuild>
protected abstract TypeToBuild build(AwsSyncClientParams clientParams)
clientParams
- Client Params to create client withCopyright © 2018. All rights reserved.