类 OssProperties

java.lang.Object
com.sie.mbm.mom.framework.oss.oss.OssProperties

@ConfigurationProperties(prefix="oss") public class OssProperties extends Object
OSS配置属性
  • 字段详细资料

    • endpoint

      private String endpoint
      对象存储服务的URL
    • pathStyleAccess

      private Boolean pathStyleAccess
      true path-style nginx 反向代理和S3默认支持 pathStyle {http://endpoint/bucketname} false supports virtual-hosted-style 阿里云等需要配置为 virtual-hosted-style 模式{http://bucketname.endpoint}
    • region

      private String region
      区域
    • accessKey

      private String accessKey
      Access key就像用户ID,可以唯一标识你的账户
    • secretKey

      private String secretKey
      Secret key是你账户的密码
    • maxConnections

      private Integer maxConnections
      最大线程数,默认: 100
  • 构造器详细资料

    • OssProperties

      public OssProperties()