Create Bucket Instance
To perform bucket level operations, you need to create a bucket instance. We will refer to this component instance in various code snippets of working with Buckets in Stratus. The Stratus reference used in the below code snippet is the component instance.
Ensure the following packages are imported:
copyimport com.zc.component.stratus.ZCBucket;
copyZCBucket bucket = stratus.bucketInstance("bucketName");
Last Updated 2025-06-20 16:21:48 +0530 +0530
Yes
No
Send your feedback to us
Skip
Submit