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.

Sample Code Snippet


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

Last Updated 2025-09-23 19:47:43 +0530 IST