Package org.jclouds.b2.features
Interface BucketApi
-
@Consumes("application/json") @Produces("application/json") public interface BucketApi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Bucket
createBucket(String bucketName, BucketType bucketType)
Bucket
deleteBucket(String bucketId)
BucketList
listBuckets()
Bucket
updateBucket(String bucketId, BucketType bucketType)
-
-
-
Method Detail
-
createBucket
@Named("b2_create_bucket") @POST @Path("/b2api/v2/b2_create_bucket") Bucket createBucket(String bucketName, BucketType bucketType)
-
deleteBucket
@Named("b2_delete_bucket") @POST @Path("/b2api/v2/b2_delete_bucket") Bucket deleteBucket(String bucketId)
-
updateBucket
@Named("b2_update_bucket") @POST @Path("/b2api/v2/b2_update_bucket") Bucket updateBucket(String bucketId, BucketType bucketType)
-
listBuckets
@Named("b2_list_buckets") @POST @Path("/b2api/v2/b2_list_buckets") BucketList listBuckets()
-
-