jclouds-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nishant Chandra <nishant.chan...@gmail.com>
Subject S3 blob permission
Date Thu, 07 Nov 2013 15:36:16 GMT
Hi,

I am working with Amazon S3. I want to control the blob permission.

The examples listed in the following link does not work:
http://jclouds.incubator.apache.org/documentation/quickstart/aws/

BlobStore blobStore = context.getBlobStore();
Blob blob = blobStore.blobBuilder(key).payload(payload)
.contentType("text/html").build();
blobStore.putBlob(container, blob, PutOptions.Builder.multipart());//
Defaults permission is private

I want to change the permission to public. How can this be achieved?

Thanks,
Nishant

Mime
View raw message