|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BucketAccessControlsApi
Provides access to BucketAccessControl entities via their REST API.
| Method Summary | |
|---|---|
BucketAccessControls |
createBucketAccessControls(String bucketName,
BucketAccessControls bucketAccessControls)
Creates a new ACL entry on the specified bucket. |
org.jclouds.http.HttpResponse |
deleteBucketAccessControls(String bucketName,
String entity)
Permanently deletes the ACL entry for the specified entity on the specified bucket. |
BucketAccessControls |
getBucketAccessControls(String bucketName,
String entity)
Returns the ACL entry for the specified entity on the specified bucket. |
ListBucketAccessControls |
listBucketAccessControls(String bucketName)
Retrieves all ACL entries on a specified bucket |
BucketAccessControls |
patchBucketAccessControls(String bucketName,
String entity,
BucketAccessControls bucketAccessControls)
Updates an ACL entry on the specified bucket. |
BucketAccessControls |
updateBucketAccessControls(String bucketName,
String entity,
BucketAccessControls bucketAccessControls)
Updates an ACL entry on the specified bucket |
| Method Detail |
|---|
@Named(value="BucketAccessControls:get")
@Nullable
BucketAccessControls getBucketAccessControls(String bucketName,
String entity)
bucketName - Name of the bucket which ACL is relatedentity - The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId,
group-emailAddress, allUsers, or allAuthenticatedUsers.
@Named(value="BucketAccessControls:insert")
BucketAccessControls createBucketAccessControls(String bucketName,
BucketAccessControls bucketAccessControls)
bucketName - Name of the bucket of which ACL to be createdbucketAccessControls - In the request body,supply a BucketAccessControls resource with role and entity
@Named(value="BucketAccessControls:delete")
@Nullable
org.jclouds.http.HttpResponse deleteBucketAccessControls(String bucketName,
String entity)
bucketName - Name of the bucket of that ACL is related
@Named(value="BucketAccessControls:list") @Nullable ListBucketAccessControls listBucketAccessControls(String bucketName)
bucketName - Name of the bucket which ACL is related
@Named(value="BucketAccessControls:update")
BucketAccessControls updateBucketAccessControls(String bucketName,
String entity,
BucketAccessControls bucketAccessControls)
bucketName - Name of the bucket which ACL to be createdentity - The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId,
group-emailAddress, allUsers, or allAuthenticatedUsers. In the request body, supply a
BucketAccessControls resource with role
@Named(value="BucketAccessControls:patch")
BucketAccessControls patchBucketAccessControls(String bucketName,
String entity,
BucketAccessControls bucketAccessControls)
bucketName - Name of the bucket which ACL to be createdentity - The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId,
group-emailAddress, allUsers, or allAuthenticatedUsersbucketAccessControls - In the request body, supply a BucketAccessControls resource with role
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||