IBMStreams com.ibm.streamsx.objectstorage Toolkit > com.ibm.streamsx.objectstorage 2.2.5 > com.ibm.streamsx.objectstorage.s3 > Java Native Functions
Creates a bucket if it doesn't exist.
Creates a bucket if it doesn't exist. Select with the locationConstraint argument the bucket type: Standard bucket (us-bucket), Vault bucket (us-vault) or Cold Vault bucket (us-cold)
Deletes all objects in a bucket.
Deletes a bucket.
Deletes an object in a bucket.
Get object metadata.
Converts the bucket to a URI for the objectStorageURI parameter of the ObjectStorageSource, ObjectStorageScan and ObjectStorageSink operators. Returns an URI in format: s3a://<bucket>/
Extracts the protocol of the URI. Returns either cos or s3a
Initialize S3 client using basic authentication. This method must be called first. For IBM COS the recommended endpoint is the public us-geo (CROSS REGION) endpoint s3.us.cloud-object-storage.appdomain.cloud.
Initialize S3 client using basic authentication. This method must be called first. For IBM COS the recommended endpoint is the public us-geo (CROSS REGION) endpoint s3.us.cloud-object-storage.appdomain.cloud.
Initialize S3 client using JSON IAM credentials from IBM Cloud Object Storage service. This method must be called first and requires an application configuration with name given as appConfigName parameter with property cos.creds that contains the IAM credentials. For IBM COS the recommended endpoint is the public us-geo (CROSS REGION) endpoint s3.us.cloud-object-storage.appdomain.cloud.
Initialize S3 client using JSON IAM credentials from IBM Cloud Object Storage service. This method must be called first and requires cos application configuration with property cos.creds that contains the IAM credentials. . For IBM COS the recommended endpoint is the public us-geo (CROSS REGION) endpoint s3.us.cloud-object-storage.appdomain.cloud.
Initialize S3 client using JSON IAM credentials from IBM Cloud Object Storage service. This method must be called first. For IBM COS the recommended endpoint is the public us-geo (CROSS REGION) endpoint s3.us.cloud-object-storage.appdomain.cloud.
Initialize S3 client using IAM credentials. This method must be called first. For IBM COS the recommended endpoint is the public us-geo (CROSS REGION) endpoint s3.us.cloud-object-storage.appdomain.cloud.
Lists all bucket names.
Lists all object names in a bucket.