Class MinioObjectLockConfigurationService
java.lang.Object
cn.herodotus.oss.dialect.core.service.BaseOssService<io.minio.MinioClient>
cn.herodotus.oss.dialect.minio.definition.service.BaseMinioService
cn.herodotus.oss.dialect.minio.service.MinioObjectLockConfigurationService
Description: Minio 对象锁定配置
- Author:
- : gengwei.zheng
- Date:
- : 2022/6/30 16:04
-
Constructor Summary
ConstructorsConstructorDescriptionMinioObjectLockConfigurationService(MinioClientObjectPool minioClientObjectPool) -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteObjectLockConfiguration(io.minio.DeleteObjectLockConfigurationArgs deleteObjectLockConfigurationArgs) 删除对象锁定voiddeleteObjectLockConfiguration(String bucketName) 删除对象锁定配置voiddeleteObjectLockConfiguration(String bucketName, String region) 删除对象锁定配置io.minio.messages.ObjectLockConfigurationgetObjectLockConfiguration(io.minio.GetObjectLockConfigurationArgs getObjectLockConfigurationArgs) 获取对象锁定配置io.minio.messages.ObjectLockConfigurationgetObjectLockConfiguration(String bucketName) 获取对象锁定配置io.minio.messages.ObjectLockConfigurationgetObjectLockConfiguration(String bucketName, String region) 获取对象锁定配置voidsetObjectLockConfiguration(io.minio.SetObjectLockConfigurationArgs setObjectLockConfigurationArgs) 设置对象锁定voidsetObjectLockConfiguration(String bucketName, io.minio.messages.ObjectLockConfiguration config) 设置对象锁定voidsetObjectLockConfiguration(String bucketName, String region, io.minio.messages.ObjectLockConfiguration config) 设置对象锁定Methods inherited from class cn.herodotus.oss.dialect.core.service.BaseOssService
close, getClient
-
Constructor Details
-
MinioObjectLockConfigurationService
-
-
Method Details
-
getObjectLockConfiguration
获取对象锁定配置- Parameters:
bucketName- 存储桶名称- Returns:
ObjectLockConfiguration
-
getObjectLockConfiguration
public io.minio.messages.ObjectLockConfiguration getObjectLockConfiguration(String bucketName, String region) 获取对象锁定配置- Parameters:
bucketName- 存储桶名称region- 区域- Returns:
ObjectLockConfiguration
-
getObjectLockConfiguration
public io.minio.messages.ObjectLockConfiguration getObjectLockConfiguration(io.minio.GetObjectLockConfigurationArgs getObjectLockConfigurationArgs) 获取对象锁定配置- Parameters:
getObjectLockConfigurationArgs-GetObjectLockConfigurationArgs- Returns:
ObjectLockConfiguration
-
setObjectLockConfiguration
public void setObjectLockConfiguration(String bucketName, io.minio.messages.ObjectLockConfiguration config) 设置对象锁定- Parameters:
bucketName- 存储桶名称config- 对象锁定配置ObjectLockConfiguration
-
setObjectLockConfiguration
public void setObjectLockConfiguration(String bucketName, String region, io.minio.messages.ObjectLockConfiguration config) 设置对象锁定- Parameters:
bucketName- 存储桶名称region- 区域config- 对象锁定配置ObjectLockConfiguration
-
setObjectLockConfiguration
public void setObjectLockConfiguration(io.minio.SetObjectLockConfigurationArgs setObjectLockConfigurationArgs) 设置对象锁定- Parameters:
setObjectLockConfigurationArgs-SetObjectLockConfigurationArgs
-
deleteObjectLockConfiguration
删除对象锁定配置- Parameters:
bucketName- 存储桶名称
-
deleteObjectLockConfiguration
删除对象锁定配置- Parameters:
bucketName- 存储桶名称region- 区域
-
deleteObjectLockConfiguration
public void deleteObjectLockConfiguration(io.minio.DeleteObjectLockConfigurationArgs deleteObjectLockConfigurationArgs) 删除对象锁定- Parameters:
deleteObjectLockConfigurationArgs-DeleteObjectLockConfigurationArgs
-