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

org.apache.hadoop.fs.cosn.multipart.upload.UploadPartCopy Maven / Gradle / Ivy

Go to download

This module contains code to support integration with Tencent Cloud COS. It also declares the dependencies needed to work with COS.

There is a newer version: 8.2.7
Show newest version
package org.apache.hadoop.fs.cosn.multipart.upload;

public final class UploadPartCopy {
  private final String srcKey;

  private final String destKey;
  private final int partNumber;
  private final long firstByte;
  private final long lastByte;

  public UploadPartCopy(String srcKey, String destKey, int partNumber, long firstByte, long lastByte) {
    this.srcKey = srcKey;
    this.destKey = destKey;
    this.partNumber = partNumber;
    this.firstByte = firstByte;
    this.lastByte = lastByte;
  }

  public String getSrcKey() {
    return srcKey;
  }

  public String getDestKey() {
    return destKey;
  }

  public int getPartNumber() {
    return partNumber;
  }

  public long getFirstByte() {
    return firstByte;
  }

  public long getLastByte() {
    return lastByte;
  }

  @Override
  public String toString() {
    return "UploadPartCopy{" +
        "srcKey='" + srcKey + '\'' +
        ", partNumber=" + partNumber +
        ", firstByte=" + firstByte +
        ", lastByte=" + lastByte +
        '}';
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy