Get a Bucket’s Details

We will use the getDetails() SDK method to get a single bucket’s details from the project. The Bucket reference used in the below code snippet is the component instance.

Ensure the following packages are imported:

    
copy
import com.zc.component.stratus.ZCBucket;
    
copy
ZCBucket bucketDetails = bucket.getDetails(); // return the bucket details

Last Updated 2025-07-02 15:43:56 +0530 +0530