Uses of Record Class
com.adobe.testing.s3mock.store.BucketMetadata
Packages that use BucketMetadata
-
Uses of BucketMetadata in com.adobe.testing.s3mock.dto
Methods in com.adobe.testing.s3mock.dto with parameters of type BucketMetadata -
Uses of BucketMetadata in com.adobe.testing.s3mock.store
Methods in com.adobe.testing.s3mock.store that return BucketMetadataModifier and TypeMethodDescriptionBucketStore.createBucket(String bucketName, boolean objectLockEnabled, software.amazon.awssdk.services.s3.model.ObjectOwnership objectOwnership) Creates a new bucket.BucketStore.getBucketMetadata(String bucketName) Retrieves BucketMetadata identified by its name.BucketMetadata.withBucketLifecycleConfiguration(BucketLifecycleConfiguration bucketLifecycleConfiguration) BucketMetadata.withObjectLockConfiguration(ObjectLockConfiguration objectLockConfiguration) Methods in com.adobe.testing.s3mock.store that return types with arguments of type BucketMetadataModifier and TypeMethodDescriptionBucketStore.listBuckets()Lists all BucketMetadata managed by this store.Methods in com.adobe.testing.s3mock.store with parameters of type BucketMetadataModifier and TypeMethodDescriptionvoidMultipartStore.abortMultipartUpload(BucketMetadata bucket, UUID id, String uploadId) Aborts the upload.MultipartStore.completeMultipartUpload(BucketMetadata bucket, String key, UUID id, String uploadId, List<CompletedPart> parts, Map<String, String> encryptionHeaders, MultipartUploadInfo uploadInfo, String location) Completes a Multipart Upload for the given ID.MultipartStore.copyPart(BucketMetadata bucket, UUID id, org.springframework.http.HttpRange copyRange, String partNumber, BucketMetadata destinationBucket, UUID destinationId, String uploadId, Map<String, String> encryptionHeaders) Copies the range, define by from/to, from the S3 Object, identified by the given key to given destination into the given bucket.ObjectStore.copyS3Object(BucketMetadata sourceBucket, UUID sourceId, BucketMetadata destinationBucket, UUID destinationId, String destinationKey, Map<String, String> encryptionHeaders, Map<String, String> storeHeaders, Map<String, String> userMetadata, StorageClass storageClass) Copies an object to another bucket and encrypted object.MultipartStore.createMultipartUpload(BucketMetadata bucket, String key, UUID id, String contentType, Map<String, String> storeHeaders, Owner owner, Owner initiator, Map<String, String> userMetadata, Map<String, String> encryptionHeaders, StorageClass storageClass, String checksum, ChecksumAlgorithm checksumAlgorithm) Prepares everything to store an object uploaded as multipart upload.booleanObjectStore.deleteObject(BucketMetadata bucket, UUID id) Removes an object key from a bucket.MultipartStore.getMultipartUpload(BucketMetadata bucketMetadata, String uploadId) Get MultipartUpload, if it was not completed.MultipartStore.getMultipartUploadInfo(BucketMetadata bucketMetadata, String uploadId) MultipartStore.getMultipartUploadParts(BucketMetadata bucket, UUID id, String uploadId) Get all multipart upload parts.ObjectStore.getS3ObjectMetadata(BucketMetadata bucket, UUID id) Retrieves S3ObjectMetadata for a UUID of a key from a bucket.MultipartStore.listMultipartUploads(BucketMetadata bucketMetadata, String prefix) Lists all not-yet completed parts of multipart uploads in a bucket.ObjectStore.pretendToCopyS3Object(BucketMetadata sourceBucket, UUID sourceId, Map<String, String> encryptionHeaders, Map<String, String> storeHeaders, Map<String, String> userMetadata, StorageClass storageClass) If source and destination is the same, pretend we copied - S3 does the same.MultipartStore.putPart(BucketMetadata bucket, UUID id, String uploadId, String partNumber, Path path, Map<String, String> encryptionHeaders) Uploads a part of a multipart upload.ObjectStore.readAcl(BucketMetadata bucket, UUID id) voidObjectStore.storeAcl(BucketMetadata bucket, UUID id, AccessControlPolicy policy) Store ACL for a given object.voidBucketStore.storeBucketLifecycleConfiguration(BucketMetadata metadata, BucketLifecycleConfiguration configuration) voidObjectStore.storeLegalHold(BucketMetadata bucket, UUID id, LegalHold legalHold) Store legal hold for a given object.voidBucketStore.storeObjectLockConfiguration(BucketMetadata metadata, ObjectLockConfiguration configuration) voidObjectStore.storeObjectTags(BucketMetadata bucket, UUID id, List<Tag> tags) Store tags for a given object.voidObjectStore.storeRetention(BucketMetadata bucket, UUID id, Retention retention) Store retention for a given object.ObjectStore.storeS3ObjectMetadata(BucketMetadata bucket, UUID id, String key, String contentType, Map<String, String> storeHeaders, Path path, Map<String, String> userMetadata, Map<String, String> encryptionHeaders, String etag, List<Tag> tags, ChecksumAlgorithm checksumAlgorithm, String checksum, Owner owner, StorageClass storageClass) Stores an object inside a Bucket.