public class OracleCloudStorageEntry extends java.lang.Object implements ObjectStorageEntry<com.oracle.bmc.objectstorage.responses.GetObjectResponse>
ObjectStorageEntry implementation for Oracle Cloud Storage.| Constructor and Description |
|---|
OracleCloudStorageEntry(java.lang.String key,
com.oracle.bmc.objectstorage.responses.GetObjectResponse objectResponse) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<java.lang.String> |
getContentType() |
java.io.InputStream |
getInputStream() |
java.lang.String |
getKey()
The object path on object storage.
|
java.util.Map<java.lang.String,java.lang.String> |
getMetadata() |
com.oracle.bmc.objectstorage.responses.GetObjectResponse |
getNativeEntry() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoStreamedFile, toSystemFilepublic OracleCloudStorageEntry(java.lang.String key,
com.oracle.bmc.objectstorage.responses.GetObjectResponse objectResponse)
@NonNull public java.lang.String getKey()
ObjectStorageEntry/path/togetKey in interface ObjectStorageEntry<com.oracle.bmc.objectstorage.responses.GetObjectResponse>@NonNull public java.io.InputStream getInputStream()
getInputStream in interface ObjectStorageEntry<com.oracle.bmc.objectstorage.responses.GetObjectResponse>@NonNull public com.oracle.bmc.objectstorage.responses.GetObjectResponse getNativeEntry()
getNativeEntry in interface ObjectStorageEntry<com.oracle.bmc.objectstorage.responses.GetObjectResponse>@NonNull public java.util.Map<java.lang.String,java.lang.String> getMetadata()
getMetadata in interface ObjectStorageEntry<com.oracle.bmc.objectstorage.responses.GetObjectResponse>@NonNull public java.util.Optional<java.lang.String> getContentType()
getContentType in interface ObjectStorageEntry<com.oracle.bmc.objectstorage.responses.GetObjectResponse>