Is Swift Object Storage compatible with the "standard" aws sdk (v. 2.0) ?
Here my code to create a S3Client:
AwsBasicCredentials awsCreds = AwsBasicCredentials.create(
"accessKeyId",
"secretAccessKey");
client = S3Client.builder()
.credentialsProvider(StaticCredentialsProvider.create(awsCreds))
.region(????)
.build();
I found my accessKeyId and secretAccessKey, but I can't set a proper vaue for "region", because it is NOT a string, but an instance of software.amazon.awssdk.regions.Region class, that has a predefined values only (I think I should pass "gra").
Does that mean I cannot use this sdk? Do I have to use the REST API?
Using aws sdk (java 2.x) to access S3/Swift Object Storage
Related questions
- CloudFlare and Public Storage configuration
2904
21.06.2018 10:03
- Hubic - backups fail from synology nas
2619
13.04.2018 12:54
- Hubic on line storage - files download problems
1999
12.02.2018 12:46
- Can't connect to hubic
1992
08.02.2018 18:39
- Cloud Archive + Rsync
1591
30.03.2018 15:17
- hubiC - Error 503 in syncronization
1408
13.07.2018 10:26
- Any chance SoYouStart ARM storage servers will be replenished (soon™)?
1321
14.01.2019 08:44
- How to limit outgoing traffic to an object storage?
1254
01.10.2018 12:03
- Hubic program in MacOS Catalina
1214
11.12.2019 13:21