Class BlobMetadata.BlobMetadataBuilder
java.lang.Object
com.salesforce.multicloudj.blob.driver.BlobMetadata.BlobMetadataBuilder
- Enclosing class:
- BlobMetadata
-
Method Summary
Modifier and TypeMethodDescriptionbuild()contentType(String contentType) The content type of the blob (e.g., "application/octet-stream", "application/x-directory")lastModified(Instant lastModified) md5(byte[] md5) objectLockInfo(ObjectLockInfo objectLockInfo) Object lock information for this blob. null if object lock is not configured.objectSize(long objectSize) toString()The versionId of this blob.
-
Method Details
-
key
- Returns:
this.
-
versionId
The versionId of this blob. This value only serves a purpose for buckets with versioning enabled, although non-versioned buckets may still return a value for it. Non-versioned buckets should simply ignore the versionId value as it serves no purpose for them.- Returns:
this.
-
eTag
- Returns:
this.
-
objectSize
- Returns:
this.
-
metadata
-
metadata
-
clearMetadata
-
lastModified
- Returns:
this.
-
md5
- Returns:
this.
-
contentType
The content type of the blob (e.g., "application/octet-stream", "application/x-directory")- Returns:
this.
-
objectLockInfo
Object lock information for this blob. null if object lock is not configured.- Returns:
this.
-
build
-
toString
-