| Modifier and Type | Method and Description |
|---|---|
ObjectAccessControls |
createObjectAccessControls(String bucketName,
String objectName,
ObjectAccessControlsTemplate template)
Creates a new acl entry for specified object
|
ObjectAccessControls |
createObjectAccessControls(String bucketName,
String objectName,
ObjectAccessControlsTemplate template,
Long generation)
Creates a new acl entry for specified object
|
void |
deleteObjectAccessControls(String bucketName,
String objectName,
String entity)
Permanently deletes the acl entry for the specified entity on the specified bucket.
|
void |
deleteObjectAccessControls(String bucketName,
String objectName,
String entity,
Long generation)
Permanently deletes the acl entry for the specified entity on the specified bucket.
|
ObjectAccessControls |
getObjectAccessControls(String bucketName,
String objectName,
String entity)
Returns the acl entry for the specified entity on the specified object.
|
ObjectAccessControls |
getObjectAccessControls(String bucketName,
String objectName,
String entity,
Long generation)
Returns the acl entry for the specified entity on the specified object.
|
List<ObjectAccessControls> |
listObjectAccessControls(String bucketName,
String objectName)
Retrieves acl entries on a specified object
|
List<ObjectAccessControls> |
listObjectAccessControls(String bucketName,
String objectName,
Long generation)
Retrieves acl entries on a specified object
|
ObjectAccessControls |
patchObjectAccessControls(String bucketName,
String objectName,
String entity,
ObjectAccessControlsTemplate template)
Updates an acl entry on the specified object
|
ObjectAccessControls |
patchObjectAccessControls(String bucketName,
String objectName,
String entity,
ObjectAccessControlsTemplate template,
Long generation)
Updates an acl entry on the specified object
|
ObjectAccessControls |
updateObjectAccessControls(String bucketName,
String objectName,
String entity,
ObjectAccessControlsTemplate template)
Updates an acl entry on the specified object
|
ObjectAccessControls |
updateObjectAccessControls(String bucketName,
String objectName,
String entity,
ObjectAccessControlsTemplate template,
Long generation)
Updates an acl entry on the specified object
|
@Named(value="ObjectAccessControls:get")
@GET
@Path(value="/b/{bucket}/o/{object}/acl/{entity}")
@Nullable
ObjectAccessControls getObjectAccessControls(@PathParam(value="bucket")
String bucketName,
@PathParam(value="object")@Encoded
String objectName,
@PathParam(value="entity")
String entity)
bucketName - Name of the bucket which contains the objectobjectName - Name of the bucket of that acl is relatedentity - The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId,
group-emailAddress, allUsers, or allAuthenticatedUsersObjectAccessControls@Named(value="ObjectAccessControls:get")
@GET
@Path(value="/b/{bucket}/o/{object}/acl/{entity}")
@Nullable
ObjectAccessControls getObjectAccessControls(@PathParam(value="bucket")
String bucketName,
@PathParam(value="object")@Encoded
String objectName,
@PathParam(value="entity")
String entity,
@QueryParam(value="generation")
Long generation)
bucketName - Name of the bucket which contains the objectobjectName - Name of the object of that acl is relatedentity - The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId,
group-emailAddress, allUsers, or allAuthenticatedUsersgeneration - If present, selects a specific revision of this objectObjectAccessControls@Named(value="ObjectAccessControls:insert")
@POST
@Produces(value="application/json")
@Path(value="/b/{bucket}/o/{object}/acl")
ObjectAccessControls createObjectAccessControls(@PathParam(value="bucket")
String bucketName,
@PathParam(value="object")@Encoded
String objectName,
ObjectAccessControlsTemplate template)
bucketName - Name of the bucket of that acl to be created In the request body, supply a ObjectAccessControls resource
with the following propertiesobjectName - Name of the bucket of that acl is relatedObjectAccessControls@Named(value="ObjectAccessControls:insert")
@POST
@Produces(value="application/json")
@Path(value="/b/{bucket}/o/{object}/acl")
ObjectAccessControls createObjectAccessControls(@PathParam(value="bucket")
String bucketName,
@PathParam(value="object")@Encoded
String objectName,
ObjectAccessControlsTemplate template,
@QueryParam(value="generation")
Long generation)
bucketName - Name of the bucket of that acl to be created In the request body, supply a ObjectAccessControls resource
with the following propertiesobjectName - Name of the bucket of that acl is relatedgeneration - If present, selects a specific revision of this objectObjectAccessControls@Named(value="ObjectAccessControls:delete")
@DELETE
@Path(value="/b/{bucket}/o/{object}/acl/{entity}")
void deleteObjectAccessControls(@PathParam(value="bucket")
String bucketName,
@PathParam(value="object")@Encoded
String objectName,
@PathParam(value="entity")
String entity)
bucketName - Name of the bucket which contains the objectobjectName - Name of the bucket of which acl is relatedentity - The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId,
group-emailAddress, allUsers, or allAuthenticatedUsers@Named(value="ObjectAccessControls:delete")
@DELETE
@Path(value="/b/{bucket}/o/{object}/acl/{entity}")
void deleteObjectAccessControls(@PathParam(value="bucket")
String bucketName,
@PathParam(value="object")@Encoded
String objectName,
@PathParam(value="entity")
String entity,
@QueryParam(value="generation")
Long generation)
bucketName - Name of the bucket which contains the objectobjectName - Name of the bucket of that acl is relatedgeneration - If present, selects a specific revision of this objectentity - The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId,
group-emailAddress, allUsers, or allAuthenticatedUsers@Named(value="ObjectAccessControls:list")
@GET
@Produces(value="application/json")
@Path(value="/b/{bucket}/o/{object}/acl")
@Nullable
List<ObjectAccessControls> listObjectAccessControls(@PathParam(value="bucket")
String bucketName,
@PathParam(value="object")@Encoded
String objectName)
bucketName - Name of the bucket which contains the objectobjectName - Name of the bucket of that acl is related@Named(value="ObjectAccessControls:list")
@GET
@Produces(value="application/json")
@Path(value="/b/{bucket}/o/{object}/acl")
@Nullable
List<ObjectAccessControls> listObjectAccessControls(@PathParam(value="bucket")
String bucketName,
@PathParam(value="object")@Encoded
String objectName,
@QueryParam(value="generation")
Long generation)
bucketName - Name of the bucket which contains the objectobjectName - Name of the bucket of that acl is relatedgeneration - If present, selects a specific revision of this object@Named(value="ObjectAccessControls:update")
@PUT
@Produces(value="application/json")
@Path(value="/b/{bucket}/o/{object}/acl/{entity}")
ObjectAccessControls updateObjectAccessControls(@PathParam(value="bucket")
String bucketName,
@PathParam(value="object")@Encoded
String objectName,
@PathParam(value="entity")
String entity,
ObjectAccessControlsTemplate template)
bucketName - Name of the bucket of which contains the objectobjectName - Name of the object which acl is relatedentity - The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId,
group-emailAddress, allUsers, or allAuthenticatedUsers.template - Supply an ObjectAccessControlsTemplateObjectAccessControls@Named(value="ObjectAccessControls:update")
@PUT
@Produces(value="application/json")
@Path(value="/b/{bucket}/o/{object}/acl/{entity}")
ObjectAccessControls updateObjectAccessControls(@PathParam(value="bucket")
String bucketName,
@PathParam(value="object")@Encoded
String objectName,
@PathParam(value="entity")
String entity,
ObjectAccessControlsTemplate template,
@QueryParam(value="generation")
Long generation)
bucketName - Name of the bucket of which contains the objectobjectName - Name of the object which acl is related *entity - The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId,
group-emailAddress, allUsers, or allAuthenticatedUserstemplate - Supply an ObjectAccessControlsTemplategeneration - If present, selects a specific revision of this objectObjectAccessControls@Named(value="ObjectAccessControls:patch")
@Produces(value="application/json")
@Path(value="/b/{bucket}/o/{object}/acl/{entity}")
ObjectAccessControls patchObjectAccessControls(@PathParam(value="bucket")
String bucketName,
@PathParam(value="object")@Encoded
String objectName,
@PathParam(value="entity")
String entity,
ObjectAccessControlsTemplate template)
bucketName - Name of the bucket of which contains the objectobjectName - Name of the object which acl is relatedtemplate - Supply an ObjectAccessControlsTemplateentity - The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId,
group-emailAddress, allUsers, or allAuthenticatedUsers.ObjectAccessControls@Named(value="ObjectAccessControls:patch")
@Produces(value="application/json")
@Path(value="/b/{bucket}/o/{object}/acl/{entity}")
ObjectAccessControls patchObjectAccessControls(@PathParam(value="bucket")
String bucketName,
@PathParam(value="object")@Encoded
String objectName,
@PathParam(value="entity")
String entity,
ObjectAccessControlsTemplate template,
@QueryParam(value="generation")
Long generation)
bucketName - Name of the bucket of which contains the objectobjectName - Name of the object which acl is relatedentity - The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId,
group-emailAddress, allUsers, or allAuthenticatedUserstemplate - Supply an ObjectAccessControlsTemplategeneration - If present, selects a specific revision of this objectObjectAccessControlsCopyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.