Create Object Instance

Use the following method to get an object instance to perform object-related operations. 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.ZCObject;
    
copy
ZCObject object = bucket.getObjectInstance("sam/out/sample.txt");

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