OSS SDK for Java provides the following methods for managing buckets.
|
Method |
Description |
|
Creates a bucket. |
|
|
Lists buckets under the current Alibaba Cloud account across all regions. Buckets are returned in alphabetical order and can be filtered by specific conditions. |
|
|
Checks whether a bucket exists. |
|
|
Queries the region of a bucket. |
|
|
Queries bucket information, such as the creation date. |
|
|
Queries the storage capacity of a bucket, including the number and storage usage of objects in each storage class. |
|
|
Configures a resource group for a bucket and queries the resource group ID of a bucket. |
|
|
Deletes a bucket that meets the required conditions. |
|
|
Classifies and manages buckets by using tags. For example, you can list only buckets that have specific tags. |
|
|
Enables pay-by-requester for a bucket so that requesters pay the request and traffic fees while the bucket owner pays only storage fees. This lets you share bucket data without incurring access costs. |