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

com.healthy.common.qcloud.cos.QcloudCosConfig Maven / Gradle / Ivy

The newest version!
package com.healthy.common.qcloud.cos;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 腾讯云COS服务配置
 *
 * @author xiaomingzhang
 */
@Component
@ConfigurationProperties(prefix = "qcloud.cos")
public class QcloudCosConfig {

	/**
	 * appId
	 */
	private static String appId;

	/**
	 * secret.
	 */
	private static String secretId;

	/**
	 * secretKey
	 */
	private static String secretKey;

	/**
	 * storages
	 */
	private static List storages;

	public static String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		QcloudCosConfig.appId = appId;
	}

	public static String getSecretId() {
		return secretId;
	}

	public void setSecretId(String secretId) {
		QcloudCosConfig.secretId = secretId;
	}

	public static String getSecretKey() {
		return secretKey;
	}

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

	public static List getStorages() {
		return storages;
	}

	public void setStorages(List storages) {
		QcloudCosConfig.storages = storages;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy