B - The type of builder that should be returned by the fluent builder methods in this interface.C - The type of client generated by this builder.public interface SdkClientBuilder<B extends SdkClientBuilder<B,C>,C> extends SdkBuilder<B,C>
Implementations of this interface are mutable and not thread-safe.
| Modifier and Type | Method and Description |
|---|---|
B |
endpointOverride(URI endpointOverride)
Configure the endpoint with which the SDK should communicate.
|
B |
overrideConfiguration(ClientOverrideConfiguration overrideConfiguration)
Specify overrides to the default SDK configuration that should be used for clients created by this builder.
|
default B |
overrideConfiguration(Consumer<ClientOverrideConfiguration.Builder> overrideConfiguration)
Similar to
overrideConfiguration(ClientOverrideConfiguration), but takes a lambda to configure a new
ClientOverrideConfiguration.Builder. |
apply, buildB overrideConfiguration(ClientOverrideConfiguration overrideConfiguration)
default B overrideConfiguration(Consumer<ClientOverrideConfiguration.Builder> overrideConfiguration)
overrideConfiguration(ClientOverrideConfiguration), but takes a lambda to configure a new
ClientOverrideConfiguration.Builder. This removes the need to called ClientOverrideConfiguration.builder()
and ClientOverrideConfiguration.Builder#build().Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.