Package io.minio.messages
Class ObjectLockConfiguration
java.lang.Object
io.minio.messages.ObjectLockConfiguration
Request XML of PutObjectLockConfiguration
API and response XML of GetObjectLockConfiguration
API.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceInterface represents retention duration ofObjectLockConfiguration.Rule.static classRetention duration days ofObjectLockConfiguration.Rule.static enumRetention duration unit.static classRetention duration years ofObjectLockConfiguration.Rule.static classRule information ofObjectLockConfiguration. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new ObjectLockConfiguration object with given retention. -
Method Summary
-
Constructor Details
-
ObjectLockConfiguration
public ObjectLockConfiguration() -
ObjectLockConfiguration
public ObjectLockConfiguration(RetentionMode mode, ObjectLockConfiguration.RetentionDuration duration) Constructs a new ObjectLockConfiguration object with given retention.
-
-
Method Details