Search in sources :

Example 1 with SetObjectStorageACL

use of com.emc.sa.service.vipr.object.tasks.SetObjectStorageACL in project coprhd-controller by CoprHD.

the class ObjectStorageUtils method setObjectShareACL.

public static void setObjectShareACL(URI bucketId, ObjectStorageACL acl) {
    Task<BucketRestRep> task = execute(new SetObjectStorageACL(bucketId, acl));
    addAffectedResource(task);
    logInfo("object.bucket.acl", bucketId, task.getOpId());
}
Also used : BucketRestRep(com.emc.storageos.model.object.BucketRestRep) SetObjectStorageACL(com.emc.sa.service.vipr.object.tasks.SetObjectStorageACL)

Aggregations

SetObjectStorageACL (com.emc.sa.service.vipr.object.tasks.SetObjectStorageACL)1 BucketRestRep (com.emc.storageos.model.object.BucketRestRep)1