kopia lustrzana https://github.com/gaul/s3proxy
Updated Using S3Proxy in Java projects (markdown)
rodzic
f4828b3639
commit
456500c17f
|
@ -90,7 +90,7 @@ public void example() {
|
||||||
new BasicAWSCredentials(s3Proxy.getAccessKey(),
|
new BasicAWSCredentials(s3Proxy.getAccessKey(),
|
||||||
s3Proxy.getSecretKey())))
|
s3Proxy.getSecretKey())))
|
||||||
.withEndpointConfiguration(
|
.withEndpointConfiguration(
|
||||||
new EndpointConfiguration(s3Proxy.getUri().toString(),
|
new AwsClientBuilder.EndpointConfiguration(s3Proxy.getUri().toString(),
|
||||||
Regions.US_EAST_1.getName()))
|
Regions.US_EAST_1.getName()))
|
||||||
.build();
|
.build();
|
||||||
s3Client.createBucket("test_bucket");
|
s3Client.createBucket("test_bucket");
|
||||||
|
|
Ładowanie…
Reference in New Issue