Package com.adobe.testing.s3mock.store
Class BucketMetadata
java.lang.Object
com.adobe.testing.s3mock.store.BucketMetadata
Represents a bucket in S3, used to serialize and deserialize all metadata locally.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandoesKeyExist(String key) booleangetName()getPath()inthashCode()booleanvoidsetBucketLifecycleConfiguration(BucketLifecycleConfiguration bucketLifecycleConfiguration) voidsetCreationDate(String creationDate) voidvoidsetObjectLockConfiguration(ObjectLockConfiguration objectLockConfiguration) voidsetObjects(Map<String, UUID> objects) voidtoString()
-
Constructor Details
-
BucketMetadata
public BucketMetadata()
-
-
Method Details
-
getBucketLifecycleConfiguration
-
setBucketLifecycleConfiguration
public void setBucketLifecycleConfiguration(BucketLifecycleConfiguration bucketLifecycleConfiguration) -
getObjectLockConfiguration
-
setObjectLockConfiguration
-
getName
-
setName
-
getCreationDate
-
setCreationDate
-
getPath
-
setPath
-
getObjects
-
setObjects
-
doesKeyExist
-
addKey
-
removeKey
-
getID
-
toString
-
equals
-
hashCode
public int hashCode()
-