类 MinioObjectRetentionService
java.lang.Object
cn.herodotus.oss.dialect.core.service.BaseOssService<MinioAsyncClient>
cn.herodotus.oss.dialect.reactive.minio.definition.service.BaseMinioAsyncService
cn.herodotus.oss.dialect.reactive.minio.service.MinioObjectRetentionService
Description: Minio 对象保留配置
- 作者:
- : gengwei.zheng
- Date:
- : 2022/6/30 21:08
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明reactor.core.publisher.Mono<RetentionDomain> getObjectRetention(io.minio.GetObjectRetentionArgs getObjectRetentionArgs) 获取对象的保留配置reactor.core.publisher.Mono<RetentionDomain> getObjectRetention(String bucketName, String objectName) 获取对象的保留配置reactor.core.publisher.Mono<RetentionDomain> getObjectRetention(String bucketName, String region, String objectName) 获取对象的保留配置reactor.core.publisher.Mono<RetentionDomain> getObjectRetention(String bucketName, String region, String objectName, String versionId) 获取对象的保留配置reactor.core.publisher.Mono<Void> setObjectRetention(io.minio.SetObjectRetentionArgs setObjectRetentionArgs) 添加对象的保留配置,存储桶需要设置为对象锁定模式,并且没有开启版本控制,否则会报错收蠕虫保护。reactor.core.publisher.Mono<Void> setObjectRetention(String bucketName, String objectName, io.minio.messages.Retention config) 添加对象的保留配置,存储桶需要设置为对象锁定模式,并且没有开启版本控制,否则会报错收蠕虫保护。reactor.core.publisher.Mono<Void> setObjectRetention(String bucketName, String objectName, io.minio.messages.Retention config, boolean bypassGovernanceMode) 添加对象的保留配置,存储桶需要设置为对象锁定模式,并且没有开启版本控制,否则会报错收蠕虫保护。reactor.core.publisher.Mono<Void> setObjectRetention(String bucketName, String region, String objectName, io.minio.messages.Retention config, boolean bypassGovernanceMode) 添加对象的保留配置,存储桶需要设置为对象锁定模式,并且没有开启版本控制,否则会报错收蠕虫保护。reactor.core.publisher.Mono<Void> setObjectRetention(String bucketName, String region, String objectName, io.minio.messages.Retention config, boolean bypassGovernanceMode, String versionId) 添加对象的保留配置,存储桶需要设置为对象锁定模式,并且没有开启版本控制,否则会报错收蠕虫保护。从类继承的方法 cn.herodotus.oss.dialect.reactive.minio.definition.service.BaseMinioAsyncService
fromFuture, just, template, toMultimap从类继承的方法 cn.herodotus.oss.dialect.core.service.BaseOssService
close, getClient
-
构造器详细资料
-
MinioObjectRetentionService
-
-
方法详细资料
-
getObjectRetention
public reactor.core.publisher.Mono<RetentionDomain> getObjectRetention(String bucketName, String objectName) 获取对象的保留配置- 参数:
bucketName- 存储桶名称objectName- 对象名称- 返回:
- 自定义保留域对象
-
getObjectRetention
public reactor.core.publisher.Mono<RetentionDomain> getObjectRetention(String bucketName, String region, String objectName) 获取对象的保留配置- 参数:
bucketName- 存储桶名称region- 区域objectName- 对象名称- 返回:
- 自定义保留域对象
-
getObjectRetention
public reactor.core.publisher.Mono<RetentionDomain> getObjectRetention(String bucketName, String region, String objectName, String versionId) 获取对象的保留配置- 参数:
bucketName- 存储桶名称region- 区域objectName- 对象名称versionId- 版本ID- 返回:
- 自定义保留域对象
-
getObjectRetention
public reactor.core.publisher.Mono<RetentionDomain> getObjectRetention(io.minio.GetObjectRetentionArgs getObjectRetentionArgs) 获取对象的保留配置- 参数:
getObjectRetentionArgs-GetObjectRetentionArgs- 返回:
RetentionDomain
-
setObjectRetention
public reactor.core.publisher.Mono<Void> setObjectRetention(String bucketName, String objectName, io.minio.messages.Retention config) 添加对象的保留配置,存储桶需要设置为对象锁定模式,并且没有开启版本控制,否则会报错收蠕虫保护。- 参数:
bucketName- 存储桶名称objectName- 对象名称config- 保留配置Retention
-
setObjectRetention
public reactor.core.publisher.Mono<Void> setObjectRetention(String bucketName, String objectName, io.minio.messages.Retention config, boolean bypassGovernanceMode) 添加对象的保留配置,存储桶需要设置为对象锁定模式,并且没有开启版本控制,否则会报错收蠕虫保护。- 参数:
bucketName- 存储桶名称objectName- 对象名称config- 保留配置RetentionbypassGovernanceMode- 使用 Governance 模式
-
setObjectRetention
public reactor.core.publisher.Mono<Void> setObjectRetention(String bucketName, String region, String objectName, io.minio.messages.Retention config, boolean bypassGovernanceMode) 添加对象的保留配置,存储桶需要设置为对象锁定模式,并且没有开启版本控制,否则会报错收蠕虫保护。- 参数:
bucketName- 存储桶名称region- 区域objectName- 对象名称config- 保留配置RetentionbypassGovernanceMode- 使用 Governance 模式
-
setObjectRetention
public reactor.core.publisher.Mono<Void> setObjectRetention(String bucketName, String region, String objectName, io.minio.messages.Retention config, boolean bypassGovernanceMode, String versionId) 添加对象的保留配置,存储桶需要设置为对象锁定模式,并且没有开启版本控制,否则会报错收蠕虫保护。- 参数:
bucketName- 存储桶名称region- 区域objectName- 对象名称config- 保留配置RetentionbypassGovernanceMode- 使用 Governance 模式versionId- 版本ID
-
setObjectRetention
public reactor.core.publisher.Mono<Void> setObjectRetention(io.minio.SetObjectRetentionArgs setObjectRetentionArgs) 添加对象的保留配置,存储桶需要设置为对象锁定模式,并且没有开启版本控制,否则会报错收蠕虫保护。- 参数:
setObjectRetentionArgs-SetObjectRetentionArgs
-