Normally, when I'm using the AWS S3 Java SDK, I can enable path style access in the following way:
S3ClientOptions clientOptions = new S3ClientOptions()
clientOptions.setPathStyleAccess(true)
awsS3Client.setS3ClientOptions(clientOptions)
We are transitioning our code to use jclouds instead, but I can't find any documentation that indicates either how to specify client options, or setting path style access for the Blob or BlobStore.
Any help would be much appreciated.
PROPERTY_S3_VIRTUAL_HOST_BUCKETS
controls path-style access, configured as part of ContextBuilder.overrides
. The generic S3 API defaults to false, or path-style access, while the specific AWS-S3 provider defaults to true, or host-style access.