@FunctionalInterface public static interface SdkHttpClient.Builder<T extends SdkHttpClient.Builder<T>> extends SdkBuilder<T,SdkHttpClient>
SdkHttpClient with service specific defaults applied.| Modifier and Type | Method and Description |
|---|---|
default SdkHttpClient |
build()
Create a
SdkHttpClient with global defaults applied. |
SdkHttpClient |
buildWithDefaults(AttributeMap serviceDefaults)
Create an
SdkHttpClient with service specific defaults applied. |
applyMutationdefault SdkHttpClient build()
SdkHttpClient with global defaults applied. This is useful for reusing an HTTP client across multiple
services.build in interface Buildablebuild in interface SdkBuilder<T extends SdkHttpClient.Builder<T>,SdkHttpClient>SdkHttpClient buildWithDefaults(AttributeMap serviceDefaults)
SdkHttpClient with service specific defaults applied. Applying service defaults is optional
and some options may not be supported by a particular implementation.serviceDefaults - Service specific defaults. Keys will be one of the constants defined in
SdkHttpConfigurationOption.Copyright © 2021. All rights reserved.