Package org.nuxeo.ecm.blob.s3
Record Class S3BlobKey
java.lang.Object
java.lang.Record
org.nuxeo.ecm.blob.s3.S3BlobKey
- All Implemented Interfaces:
CloudBlobKey<S3BlobStoreConfiguration>
public record S3BlobKey(S3BlobStoreConfiguration config, String key)
extends Record
implements CloudBlobKey<S3BlobStoreConfiguration>
- Since:
- 2025.8
-
Constructor Summary
ConstructorsConstructorDescriptionS3BlobKey(S3BlobStoreConfiguration config, String key) Creates an instance of aS3BlobKeyrecord class. -
Method Summary
Modifier and TypeMethodDescriptionGets the bucket object key interpretable by the cloud storage provider.Gets the cloud storage prefix.config()Returns the value of theconfigrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.key()Returns the value of thekeyrecord component.toString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.nuxeo.ecm.blob.CloudBlobKey
isVersioned, versionId
-
Constructor Details
-
S3BlobKey
Creates an instance of aS3BlobKeyrecord class.- Parameters:
config- the value for theconfigrecord componentkey- the value for thekeyrecord component
-
-
Method Details
-
bucketKey
Description copied from interface:CloudBlobKeyGets the bucket object key interpretable by the cloud storage provider.- Specified by:
bucketKeyin interfaceCloudBlobKey<S3BlobStoreConfiguration>
-
bucketPrefix
Description copied from interface:CloudBlobKeyGets the cloud storage prefix.- Specified by:
bucketPrefixin interfaceCloudBlobKey<S3BlobStoreConfiguration>
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
config
Returns the value of theconfigrecord component.- Specified by:
configin interfaceCloudBlobKey<S3BlobStoreConfiguration>- Returns:
- the value of the
configrecord component
-
key
Returns the value of thekeyrecord component.- Specified by:
keyin interfaceCloudBlobKey<S3BlobStoreConfiguration>- Returns:
- the value of the
keyrecord component
-