Package mops.persistence.config
Class FileRepositoryConfig
- java.lang.Object
-
- mops.persistence.config.FileRepositoryConfig
-
@Configuration @ConfigurationProperties(prefix="material1.mops.storage.minio") public class FileRepositoryConfig extends java.lang.ObjectConfiguration for MinIO.
-
-
Constructor Summary
Constructors Constructor Description FileRepositoryConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAccessKey()MinIO access key.java.lang.StringgetBucketName()Name of the bucket.java.lang.StringgetHost()Host of the MinIO server.intgetPort()Port of the MinIO server.java.lang.StringgetSecretKey()MinIO secret key.voidsetAccessKey(java.lang.String accessKey)MinIO access key.voidsetBucketName(java.lang.String bucketName)Name of the bucket.voidsetHost(java.lang.String host)Host of the MinIO server.voidsetPort(int port)Port of the MinIO server.voidsetSecretKey(java.lang.String secretKey)MinIO secret key.
-
-
-
Method Detail
-
getHost
public java.lang.String getHost()
Host of the MinIO server.
-
getPort
public int getPort()
Port of the MinIO server.
-
getBucketName
public java.lang.String getBucketName()
Name of the bucket.
-
getAccessKey
public java.lang.String getAccessKey()
MinIO access key.
-
getSecretKey
public java.lang.String getSecretKey()
MinIO secret key.
-
setHost
public void setHost(java.lang.String host)
Host of the MinIO server.
-
setPort
public void setPort(int port)
Port of the MinIO server.
-
setBucketName
public void setBucketName(java.lang.String bucketName)
Name of the bucket.
-
setAccessKey
public void setAccessKey(java.lang.String accessKey)
MinIO access key.
-
setSecretKey
public void setSecretKey(java.lang.String secretKey)
MinIO secret key.
-
-