All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fqm.framework.file.config.MinioProperties Maven / Gradle / Ivy

There is a newer version: 1.0.7
Show newest version
package com.fqm.framework.file.config;

/**
 * MinIO 配置类
 * @version 
 * @author 傅泉明
 */
public class MinioProperties {

    /**
     * 是否开启,默认为 true 关闭
     */
    private Boolean enabled = true;
    /**
     * endPoint是一个URL,域名,IPv4或者IPv6地址
     */
    private String endpoint;

    /**
     * TCP/IP端口号
     */
    private int port;

    /**
     * accessKey类似于用户ID,用于唯一标识你的账户
     */
    private String accessKey;

    /**
     * secretKey是你账户的密码
     */
    private String secretKey;

    /**
     * 如果是true,则用的是https而不是http,默认值是true
     */
    private Boolean secure;

    /**
     * 默认存储桶名称
     */
    private String bucketDefaultName = "config";

    public Boolean getEnabled() {
        return enabled;
    }

    public void setEnable(Boolean enabled) {
        this.enabled = enabled;
    }

    public String getEndpoint() {
        return endpoint;
    }

    public void setEndpoint(String endpoint) {
        this.endpoint = endpoint;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getAccessKey() {
        return accessKey;
    }

    public void setAccessKey(String accessKey) {
        this.accessKey = accessKey;
    }

    public String getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }

    public Boolean getSecure() {
        return secure;
    }

    public void setSecure(Boolean secure) {
        this.secure = secure;
    }

    public String getBucketDefaultName() {
        return bucketDefaultName;
    }

    public void setBucketDefaultName(String bucketDefaultName) {
        this.bucketDefaultName = bucketDefaultName;
    }
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy