public class ObjectBuckets extends ProjectResources<BucketRestRep> implements TaskResources<BucketRestRep>
Base URL: /object/buckets
| Constructor and Description | 
|---|
ObjectBuckets(ViPRCoreClient parent,
             RestClient client)  | 
| Modifier and Type | Method and Description | 
|---|---|
Task<BucketRestRep> | 
create(BucketParam input,
      java.net.URI project)
Begins create the bucket. 
 | 
Task<BucketRestRep> | 
deactivate(java.net.URI id,
          BucketDeleteParam input)
Begins deactivating the given bucket by ID. 
 | 
Task<BucketRestRep> | 
deleteBucketACL(java.net.URI id)
Begins removing a bucket ACL from the given bucket by ID. 
 | 
java.util.List<BucketACE> | 
getBucketACL(java.net.URI id)
Gets the Bucket ACLs for the given bucket by ID. 
 | 
Task<BucketRestRep> | 
getTask(java.net.URI id,
       java.net.URI taskId)
Gets a single task associated with a given resource by ID. 
 | 
Tasks<BucketRestRep> | 
getTasks(java.net.URI id)
Gets the tasks associated with a given resource by ID. 
 | 
Task<BucketRestRep> | 
update(java.net.URI id,
      BucketUpdateParam input)
Begins update the bucket. 
 | 
Task<BucketRestRep> | 
updateBucketACL(java.net.URI id,
               ObjectBucketACLUpdateParams param)
Update Bucket ACL
 
 API Call: PUT /object/buckets/{id}/acl/ 
 | 
findByProject, findByProject, findByProject, findByProject, searchgetByIds, getByRefs, listBulkIdsaddTags, get, get, getByIds, getByRefs, getTags, performSearch, performSearchBy, removeTags, updateTags, withInactive, withInternalequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetByIds, getByRefsaddTags, get, get, getTags, removeTags, updateTagspublic ObjectBuckets(ViPRCoreClient parent, RestClient client)
public Tasks<BucketRestRep> getTasks(java.net.URI id)
TaskResourcesAPI Call: GET baseUrl/{id}/tasks
getTasks in interface TaskResources<BucketRestRep>id - the resource ID.public Task<BucketRestRep> getTask(java.net.URI id, java.net.URI taskId)
TaskResourcesAPI Call: GET baseUrl/{id}/tasks/{taskId}
getTask in interface TaskResources<BucketRestRep>id - the resource ID.taskId - the task ID.public Task<BucketRestRep> deactivate(java.net.URI id, BucketDeleteParam input)
API Call: POST /object/buckets/{id}/deactivate
id - the ID of the file system to deactivate.input - the delete configuration.public Task<BucketRestRep> create(BucketParam input, java.net.URI project)
API Call: POST /object/buckets
input - the create configuration.public Task<BucketRestRep> update(java.net.URI id, BucketUpdateParam input)
API Call: PUT /object/buckets
input - the create configuration.public java.util.List<BucketACE> getBucketACL(java.net.URI id)
API Call: GET /object/buckets/{id}/acl/
id - is the ID of the file system.public Task<BucketRestRep> updateBucketACL(java.net.URI id, ObjectBucketACLUpdateParams param)
id - is the ID of the Bucket.param - the update/create configurationpublic Task<BucketRestRep> deleteBucketACL(java.net.URI id)
API Call: DELETE /object/buckets/{id}/acl/
id - is the ID of the Bucket.