From 456500c17fde1d244f2d7f08546d6f4fec2f38f8 Mon Sep 17 00:00:00 2001 From: Ohad Shai Date: Tue, 15 Sep 2020 16:44:50 +0300 Subject: [PATCH] Updated Using S3Proxy in Java projects (markdown) --- Using-S3Proxy-in-Java-projects.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Using-S3Proxy-in-Java-projects.md b/Using-S3Proxy-in-Java-projects.md index f0cd467..33c98c2 100644 --- a/Using-S3Proxy-in-Java-projects.md +++ b/Using-S3Proxy-in-Java-projects.md @@ -90,7 +90,7 @@ public void example() { new BasicAWSCredentials(s3Proxy.getAccessKey(), s3Proxy.getSecretKey()))) .withEndpointConfiguration( - new EndpointConfiguration(s3Proxy.getUri().toString(), + new AwsClientBuilder.EndpointConfiguration(s3Proxy.getUri().toString(), Regions.US_EAST_1.getName())) .build(); s3Client.createBucket("test_bucket");