public static final class ApacheHttpApiClient.Builder extends Object
Modifier and Type | Method and Description |
---|---|
ApacheHttpApiClient |
build()
Returns an instance of
ApacheHttpApiClient with the given configuration. |
ApacheHttpApiClient.Builder |
withHttpClient(org.apache.http.impl.client.CloseableHttpClient httpClient)
Allows user to configure a custom HTTP client.
|
public ApacheHttpApiClient.Builder withHttpClient(org.apache.http.impl.client.CloseableHttpClient httpClient)
httpClient
- CloseableHttpClient
.ApacheHttpApiClient.Builder
public ApacheHttpApiClient build()
ApacheHttpApiClient
with the given configuration.Copyright © Amazon.com, Inc. or its affiliates. All Rights Reserved.