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

io.gitee.oss.helper.config.OssHelperProperties Maven / Gradle / Ivy

package io.gitee.oss.helper.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import static io.gitee.oss.helper.constants.ConfigPrefixConst.OSS_HELPER_PREFIX;

@Data
@Configuration
@ConfigurationProperties(prefix = OSS_HELPER_PREFIX)
public class OssHelperProperties {

    /**
     * 对象存储模式 可选 minio、aliyun
     */
    private String mode;

    /**
     * 节点
     */
    private String endpoint;

    /**
     * ak
     */
    private String accessKey;

    /**
     * sk
     */
    private String secretKey;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy