Class MinioBucketNotificationService
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.MinioBucketNotificationService
Description: Bucket 通知配置
- Author:
- : gengwei.zheng
- Date:
- : 2022/6/30 15:42
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteBucketNotification(io.minio.DeleteBucketNotificationArgs deleteBucketNotificationArgs) 删除 Bucket 通知配置voiddeleteBucketNotification(String bucketName) 删除 Bucket 通知配置voiddeleteBucketNotification(String bucketName, String region) 删除 Bucket 通知配置io.minio.messages.NotificationConfigurationgetBucketNotification(io.minio.GetBucketNotificationArgs getBucketNotificationArgs) 获取 Bucket 通知配置io.minio.messages.NotificationConfigurationgetBucketNotification(String bucketName) 获取 Bucket 通知配置io.minio.messages.NotificationConfigurationgetBucketNotification(String bucketName, String region) 获取 Bucket 通知配置voidsetBucketNotification(io.minio.SetBucketNotificationArgs setBucketNotificationArgs) 设置 Bucket 通知voidsetBucketNotification(String bucketName, io.minio.messages.NotificationConfiguration notificationConfiguration) 设置 Bucket 通知voidsetBucketNotification(String bucketName, String region, io.minio.messages.NotificationConfiguration notificationConfiguration) 设置 Bucket 通知Methods inherited from class cn.herodotus.oss.dialect.core.service.BaseOssService
close, getClient
-
Constructor Details
-
MinioBucketNotificationService
-
-
Method Details
-
setBucketNotification
public void setBucketNotification(String bucketName, io.minio.messages.NotificationConfiguration notificationConfiguration) 设置 Bucket 通知- Parameters:
bucketName- bucketNamenotificationConfiguration-NotificationConfiguration
-
setBucketNotification
public void setBucketNotification(String bucketName, String region, io.minio.messages.NotificationConfiguration notificationConfiguration) 设置 Bucket 通知- Parameters:
bucketName- bucketNameregion- regionnotificationConfiguration-NotificationConfiguration
-
setBucketNotification
public void setBucketNotification(io.minio.SetBucketNotificationArgs setBucketNotificationArgs) 设置 Bucket 通知- Parameters:
setBucketNotificationArgs-SetBucketNotificationArgs
-
getBucketNotification
获取 Bucket 通知配置- Parameters:
bucketName- bucketName- Returns:
NotificationConfiguration
-
getBucketNotification
public io.minio.messages.NotificationConfiguration getBucketNotification(String bucketName, String region) 获取 Bucket 通知配置- Parameters:
bucketName- bucketNameregion- region- Returns:
NotificationConfiguration
-
getBucketNotification
public io.minio.messages.NotificationConfiguration getBucketNotification(io.minio.GetBucketNotificationArgs getBucketNotificationArgs) 获取 Bucket 通知配置- Parameters:
getBucketNotificationArgs-GetBucketNotificationArgs- Returns:
NotificationConfiguration
-
deleteBucketNotification
删除 Bucket 通知配置- Parameters:
bucketName- bucketName
-
deleteBucketNotification
删除 Bucket 通知配置- Parameters:
bucketName- bucketNameregion- region
-
deleteBucketNotification
public void deleteBucketNotification(io.minio.DeleteBucketNotificationArgs deleteBucketNotificationArgs) 删除 Bucket 通知配置- Parameters:
deleteBucketNotificationArgs-DeleteBucketNotificationArgs
-