Interface OciObjectStorageRx
public interface OciObjectStorageRx
Reactive API for OCI Object Storage.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic OciObjectStorageRx.Builderbuilder()Create a new fluent API builder for OCI object storage.static OciObjectStorageRxcreate()Create OCI Object Storage using the defaultOciRestApi.static OciObjectStorageRxCreate OCI Object Storage based on configuration.deleteObject(DeleteObject.Request request) Deletes an object.getBucket(GetBucket.Request request) Gets the metadata of a bucket.getObject(GetObject.Request request) Gets the metadata and body of an object.putObject(PutObject.Request request, Flow.Publisher<DataChunk> publisher) Creates a new object or overwrites an existing object with the same name.renameObject(RenameObject.Request request) Rename an object in the given Object Storage namespace.
-
Field Details
-
API_VERSION
Version of Secret API supported by this client.- See Also:
-
API_HOST_PREFIX
Host name prefix.- See Also:
-
API_HOST_FORMAT
Host format of API server.- See Also:
-
-
Method Details
-
builder
Create a new fluent API builder for OCI object storage.- Returns:
- a new builder
-
create
Create OCI Object Storage using the defaultOciRestApi.- Returns:
- OCI object storage instance connecting based on
DEFAULTprofile
-
create
Create OCI Object Storage based on configuration.- Parameters:
config- configuration on the node of OCI configuration- Returns:
- OCI object storage instance configured from the configuration
- See Also:
-
getObject
Gets the metadata and body of an object.- Parameters:
request- get object request- Returns:
- future with response or error
-
putObject
Single<PutObject.Response> putObject(PutObject.Request request, Flow.Publisher<DataChunk> publisher) Creates a new object or overwrites an existing object with the same name. The maximum object size allowed by PutObject is 50 GiB.- Parameters:
request- put object requestpublisher- publisher of object's data- Returns:
- future with response or error
-
deleteObject
Deletes an object.- Parameters:
request- delete object request- Returns:
- future with response or error
-
renameObject
Rename an object in the given Object Storage namespace. See Object Names.- Parameters:
request- rename object request- Returns:
- future with response or error
-
getBucket
Gets the metadata of a bucket.- Parameters:
request- get bucket request- Returns:
- future with response or error
-