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");