use of com.emc.sa.service.vipr.object.tasks.UpdateBucket in project coprhd-controller by CoprHD.
the class ObjectStorageUtils method editBucketResource.
public static void editBucketResource(URI bucketResourceId, Double softQuota, Double hardQuota, String retention) {
String softQuotaSize = gbToQuotaSize(softQuota);
String hardQuotaSize = gbToQuotaSize(hardQuota);
Task<BucketRestRep> task = execute(new UpdateBucket(bucketResourceId, softQuotaSize, hardQuotaSize, retention));
addAffectedResource(task);
}
Aggregations