// Path: src/main/java/com/xiaomi/infra/galaxy/fds/android/util/Consts.java
// public final class Consts {
//   public static final String XIAOMI_HEADER_PREFIX = "x-xiaomi-";
//   public static final String XIAOMI_META_HEADER_PREFIX = XIAOMI_HEADER_PREFIX
//       + "meta-";
//   public static final String ESTIMATED_OBJECT_SIZE = XIAOMI_HEADER_PREFIX
//       + "estimated-object-size";
//   public static final String GALAXY_ACCESS_KEY_ID = "GalaxyAccessKeyId";
//   public static final String SIGNATURE = "Signature";
//   public static final String EXPIRES = "Expires";
//   public static String APPLICATION_OCTET_STREAM = "application/octet-stream";
// }


import com.xiaomi.infra.galaxy.fds.android.util.Consts;
  public void setAccessKeyId(String accessKeyId) {
    this.accessKeyId = accessKeyId;
  }

  public String getSignature() {
    return signature;
  }

  public void setSignature(String signature) {
    this.signature = signature;
  }

  public long getExpires() {
    return expires;
  }

  public void setExpires(long expires) {
    this.expires = expires;
  }

  public void setFdsServiceBaseUri(String fdsServiceBaseUri) {
    this.fdsServiceBaseUri = fdsServiceBaseUri;
  }

  public void setCdnServiceBaseUri(String cdnServiceBaseUri) {
    this.cdnServiceBaseUri = cdnServiceBaseUri;
  }

  public String getRelativePresignedUri() {
    return  "/" + bucketName + "/" + objectName + "?"
// Path: src/main/java/com/xiaomi/infra/galaxy/fds/android/util/Consts.java
// public final class Consts {
//   public static final String XIAOMI_HEADER_PREFIX = "x-xiaomi-";
//   public static final String XIAOMI_META_HEADER_PREFIX = XIAOMI_HEADER_PREFIX
//       + "meta-";
//   public static final String ESTIMATED_OBJECT_SIZE = XIAOMI_HEADER_PREFIX
//       + "estimated-object-size";
//   public static final String GALAXY_ACCESS_KEY_ID = "GalaxyAccessKeyId";
//   public static final String SIGNATURE = "Signature";
//   public static final String EXPIRES = "Expires";
//   public static String APPLICATION_OCTET_STREAM = "application/octet-stream";
// }


// Path: src/main/java/com/xiaomi/infra/galaxy/fds/android/model/PutObjectResult.java
import com.xiaomi.infra.galaxy.fds.android.util.Consts;

  public void setAccessKeyId(String accessKeyId) {
    this.accessKeyId = accessKeyId;
  }

  public String getSignature() {
    return signature;
  }

  public void setSignature(String signature) {
    this.signature = signature;
  }

  public long getExpires() {
    return expires;
  }

  public void setExpires(long expires) {
    this.expires = expires;
  }

  public void setFdsServiceBaseUri(String fdsServiceBaseUri) {
    this.fdsServiceBaseUri = fdsServiceBaseUri;
  }

  public void setCdnServiceBaseUri(String cdnServiceBaseUri) {
    this.cdnServiceBaseUri = cdnServiceBaseUri;
  }

  public String getRelativePresignedUri() {
    return  "/" + bucketName + "/" + objectName + "?"
        + Consts.GALAXY_ACCESS_KEY_ID + "=" + accessKeyId + "&" + Consts.EXPIRES