com.qwlabs.storage.minio.MinioStorageBootstrap Maven / Gradle / Ivy
package com.qwlabs.storage.minio;
import io.minio.MinioAsyncClient;
public abstract class MinioStorageBootstrap {
protected MinioAsyncClient createMinioClient(MinioConfig config) {
config.validate();
return MinioAsyncClient.builder()
.endpoint(config.getUrl())
.credentials(config.getAccessKey(), config.getSecretKey())
.build();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy