OssProperties.java 792 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. package com.ruoyi.oss.properties;
  2. import lombok.Data;
  3. /**
  4. * OSS对象存储 配置属性
  5. *
  6. * @author Lion Li
  7. */
  8. @Data
  9. public class OssProperties {
  10. /**
  11. * 访问站点
  12. */
  13. private String endpoint;
  14. /**
  15. * 自定义域名
  16. */
  17. private String domain;
  18. /**
  19. * 前缀
  20. */
  21. private String prefix;
  22. /**
  23. * ACCESS_KEY
  24. */
  25. private String accessKey;
  26. /**
  27. * SECRET_KEY
  28. */
  29. private String secretKey;
  30. /**
  31. * 存储空间名
  32. */
  33. private String bucketName;
  34. /**
  35. * 存储区域
  36. */
  37. private String region;
  38. /**
  39. * 是否https(Y=是,N=否)
  40. */
  41. private String isHttps;
  42. /**
  43. * 桶权限类型(0private 1public 2custom)
  44. */
  45. private String accessPolicy;
  46. }