From 87bc5cb43b2342bf83c7508dd5844ba8a7f2ce47 Mon Sep 17 00:00:00 2001 From: Matthew Miller Date: Mon, 31 Oct 2022 13:35:32 -0700 Subject: [PATCH] Fix incorrect code in ApacheHttpClient.Builder docs. (#3527) --- .../amazon/awssdk/http/apache/ApacheHttpClient.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/http-clients/apache-client/src/main/java/software/amazon/awssdk/http/apache/ApacheHttpClient.java b/http-clients/apache-client/src/main/java/software/amazon/awssdk/http/apache/ApacheHttpClient.java index 409e197024ba..5e0bf99478d2 100644 --- a/http-clients/apache-client/src/main/java/software/amazon/awssdk/http/apache/ApacheHttpClient.java +++ b/http-clients/apache-client/src/main/java/software/amazon/awssdk/http/apache/ApacheHttpClient.java @@ -333,9 +333,10 @@ public String clientName() { * client builder for more information on configuring the HTTP layer. * *
-     * SdkHttpClient httpClient = SdkHttpClient.builder()
-     * .socketTimeout(Duration.ofSeconds(10))
-     * .build();
+     * SdkHttpClient httpClient =
+     *     ApacheHttpClient.builder()
+     *                     .socketTimeout(Duration.ofSeconds(10))
+     *                     .build();
      * 
*/ public interface Builder extends SdkHttpClient.Builder {