admin
2021-01-27 92f1d85ddc449ce7452f9d52f8b081e6b69c720b
utils/src/main/java/org/yeshi/utils/tencentcloud/entity/COSInitParams.java
@@ -1,56 +1,65 @@
package org.yeshi.utils.tencentcloud.entity;
/**
 * 腾讯云COS初始化参数
 *
 * @author hexiaohui
 *
 */
public class COSInitParams {
   private long appId;
   private String secretId;
   private String secretKey;
   // 设置要操作的bucket
   private String bucketName;
   private String region;
   public long getAppId() {
      return appId;
   }
   public void setAppId(long appId) {
      this.appId = appId;
   }
   public String getSecretId() {
      return secretId;
   }
   public void setSecretId(String secretId) {
      this.secretId = secretId;
   }
   public String getSecretKey() {
      return secretKey;
   }
   public void setSecretKey(String secretKey) {
      this.secretKey = secretKey;
   }
   public String getBucketName() {
      return bucketName;
   }
   public void setBucketName(String bucketName) {
      this.bucketName = bucketName;
   }
   public String getRegion() {
      return region;
   }
   public void setRegion(String region) {
      this.region = region;
   }
}
package org.yeshi.utils.tencentcloud.entity;
/**
 * 腾讯云COS初始化参数
 *
 * @author hexiaohui
 */
public class COSInitParams {
    private long appId;
    private String secretId;
    private String secretKey;
    // 设置要操作的bucket
    private String bucketName;
    private String region;
    //访问域名
    private String accessHost;
    public long getAppId() {
        return appId;
    }
    public void setAppId(long appId) {
        this.appId = appId;
    }
    public String getSecretId() {
        return secretId;
    }
    public void setSecretId(String secretId) {
        this.secretId = secretId;
    }
    public String getSecretKey() {
        return secretKey;
    }
    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }
    public String getBucketName() {
        return bucketName;
    }
    public void setBucketName(String bucketName) {
        this.bucketName = bucketName;
    }
    public String getRegion() {
        return region;
    }
    public void setRegion(String region) {
        this.region = region;
    }
    public String getAccessHost() {
        return accessHost;
    }
    public void setAccessHost(String accessHost) {
        this.accessHost = accessHost;
    }
}