Modifier and Type | Method and Description |
---|---|
ObjectAccessControls |
createDefaultObjectAccessControls(String bucketName,
ObjectAccessControlsTemplate template)
Creates a new ACL entry for specified object
|
HttpResponse |
deleteDefaultObjectAccessControls(String bucketName,
String entity)
Permanently deletes the DefaultObjectAcessControl entry for the specified entity on the specified bucket.
|
ObjectAccessControls |
getDefaultObjectAccessControls(String bucketName,
String entity)
Returns the ACL entry for the specified entity on the specified object.
|
List<ObjectAccessControls> |
listDefaultObjectAccessControls(String bucketName)
Retrieves ACL entries on a specified object
|
ObjectAccessControls |
patchDefaultObjectAccessControls(String bucketName,
String entity,
ObjectAccessControls payload)
Retrieves ACL entries on a specified object
|
ObjectAccessControls |
updateDefaultObjectAccessControls(String bucketName,
String entity,
ObjectAccessControls payload)
Retrieves ACL entries on a specified object
|
ObjectAccessControls |
updateDefaultObjectAccessControls(String bucketName,
String entity,
ObjectAccessControls payload,
DomainResourceReferences.ObjectRole role)
Retrieves ACL entries on a specified object
|
@Named(value="DefaultObjectAccessControls:get") @GET @Path(value="/b/{bucket}/defaultObjectAcl/{entity}") @Nullable ObjectAccessControls getDefaultObjectAccessControls(@PathParam(value="bucket") String bucketName, @PathParam(value="entity") String entity)
bucketName
- Name of the bucket which contains the objectentity
- The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId,
group-emailAddress, allUsers, or allAuthenticatedUsers@Named(value="DefaultObjectAccessControls:insert") @POST @Produces(value="application/json") @Path(value="/b/{bucket}/defaultObjectAcl") ObjectAccessControls createDefaultObjectAccessControls(@PathParam(value="bucket") String bucketName, ObjectAccessControlsTemplate template)
bucketName
- Name of the bucket of that ACL to be created In the request body, supply a DefaultObjectAccessControls
resource with the following properties@Named(value="DefaultObjectAccessControls:delete") @DELETE @Path(value="/b/{bucket}/defaultObjectAcl/{entity}") @Nullable HttpResponse deleteDefaultObjectAccessControls(@PathParam(value="bucket") String bucketName, @PathParam(value="entity") String entity)
bucketName
- Name of the bucket which contains the objectentity
- The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId,
group-emailAddress, allUsers, or allAuthenticatedUsers@Named(value="DefaultObjectAccessControls:list") @GET @Produces(value="application/json") @Path(value="/b/{bucket}/defaultObjectAcl") @Nullable List<ObjectAccessControls> listDefaultObjectAccessControls(@PathParam(value="bucket") String bucketName)
bucketName
- Name of the bucket which contains the object@Named(value="DefaultObjectAccessControls:update") @PUT @Produces(value="application/json") @Path(value="/b/{bucket}/defaultObjectAcl/{entity}") ObjectAccessControls updateDefaultObjectAccessControls(@PathParam(value="bucket") String bucketName, @PathParam(value="entity") String entity, ObjectAccessControls payload)
bucketName
- Name of the bucket which contains the object@Named(value="DefaultObjectAccessControls:update") @PUT @Produces(value="application/json") @Path(value="/b/{bucket}/defaultObjectAcl/{entity}") ObjectAccessControls updateDefaultObjectAccessControls(@PathParam(value="bucket") String bucketName, @PathParam(value="entity") String entity, ObjectAccessControls payload, @QueryParam(value="role") DomainResourceReferences.ObjectRole role)
bucketName
- Name of the bucket which contains the object@Named(value="DefaultObjectAccessControls:patch") @Produces(value="application/json") @Path(value="/b/{bucket}/defaultObjectAcl/{entity}") ObjectAccessControls patchDefaultObjectAccessControls(@PathParam(value="bucket") String bucketName, @PathParam(value="entity") String entity, ObjectAccessControls payload)
bucketName
- Name of the bucket which contains the objectCopyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.