类 CopyPartRequest


public class CopyPartRequest extends AbstractMultipartRequest
Parameters in the request for copying a part
  • 构造器详细资料

    • CopyPartRequest

      public CopyPartRequest()
    • CopyPartRequest

      public CopyPartRequest(String uploadId, String sourceBucketName, String sourceObjectKey, String destinationBucketName, String destinationObjectKey, int partNumber)
      Constructor
      参数:
      uploadId - Multipart upload ID
      sourceBucketName - Source bucket name
      sourceObjectKey - Source object name
      destinationBucketName - Destination bucket name
      destinationObjectKey - Destination object name
      partNumber - Part number
  • 方法详细资料

    • getSseCHeaderSource

      public SseCHeader getSseCHeaderSource()
      Obtain SSE-C decryption headers of the source object.
      返回:
      SSE-C decryption headers of the source object
    • setSseCHeaderSource

      public void setSseCHeaderSource(SseCHeader sseCHeaderSource)
      Set SSE-C decryption headers of the source object.
      参数:
      sseCHeaderSource - SSE-C decryption headers of the source object
    • getSseCHeaderDestination

      public SseCHeader getSseCHeaderDestination()
      Obtain SSE-C encryption headers of the destination object.
      返回:
      SSE-C encryption headers of the destination object
    • setSseCHeaderDestination

      public void setSseCHeaderDestination(SseCHeader sseCHeaderDestination)
      Set SSE-C encryption headers for the destination object.
      参数:
      sseCHeaderDestination - SSE-C encryption headers of the destination object
    • getByteRangeStart

      public Long getByteRangeStart()
      Obtain the start position for copying.
      返回:
      Start position for copying
    • setByteRangeStart

      public void setByteRangeStart(Long byteRangeStart)
      Set the start position for copying.
      参数:
      byteRangeStart - Start position for copying
    • getByteRangeEnd

      public Long getByteRangeEnd()
      Obtain the end position for copying.
      返回:
      End position for copying
    • setByteRangeEnd

      public void setByteRangeEnd(Long byteRangeEnd)
      Set the end position for copying.
      参数:
      byteRangeEnd - End position for copying
    • getPartNumber

      public int getPartNumber()
      Obtain the part number of the to-be-copied part.
      返回:
      Part number
    • setPartNumber

      public void setPartNumber(int partNumber)
      Set the part number of the to-be-copied part.
      参数:
      partNumber - Part number
    • getSourceBucketName

      public String getSourceBucketName()
      Obtain the source bucket name.
      返回:
      Source bucket name
    • setSourceBucketName

      public void setSourceBucketName(String bucketName)
      Set the source bucket name.
      参数:
      bucketName - Source bucket name
    • getSourceObjectKey

      public String getSourceObjectKey()
      Obtain the source object name.
      返回:
      Source object name
    • setSourceObjectKey

      public void setSourceObjectKey(String objectKey)
      Set the source object name.
      参数:
      objectKey - Source object name
    • getDestinationBucketName

      public String getDestinationBucketName()
      Obtain the name of the bucket (destination bucket) to which the multipart upload belongs.
      返回:
      Name of the bucket to which the multipart upload belongs
    • setDestinationBucketName

      public void setDestinationBucketName(String destBucketName)
      Set the name of the bucket (destination bucket) to which the multipart upload belongs.
      参数:
      destBucketName - Name of the bucket to which the multipart upload belongs
    • getDestinationObjectKey

      public String getDestinationObjectKey()
      Obtain the name of the object (destination object) involved in the multipart upload.
      返回:
      Name of the object involved in the multipart upload
    • setDestinationObjectKey

      public void setDestinationObjectKey(String destObjectKey)
      Set the name of the object (destination object) involved in the multipart upload.
      参数:
      destObjectKey - Name of the object involved in the multipart upload
    • getVersionId

      public String getVersionId()
      Obtain the version ID of the source object.
      返回:
      Version ID of the source object
    • setVersionId

      public void setVersionId(String versionId)
      Set the version ID for the source object.
      参数:
      versionId - Version ID of the source object
    • getBucketName

      public String getBucketName()
      Obtain the name of the bucket (destination bucket) to which the multipart upload belongs.
      覆盖:
      getBucketName 在类中 GenericRequest
      返回:
      Name of the bucket to which the multipart upload belongs
    • setBucketName

      public void setBucketName(String bucketName)
      Set the name of the bucket (destination bucket) to which the multipart upload belongs.
      覆盖:
      setBucketName 在类中 GenericRequest
      参数:
      bucketName - Bucket name
      destBucketName - Name of the bucket to which the multipart upload belongs
    • setObjectKey

      public void setObjectKey(String objectKey)
      Obtain the name of the object (destination object) involved in the multipart upload.
      覆盖:
      setObjectKey 在类中 BaseObjectRequest
      参数:
      objectKey - Object name
    • getObjectKey

      public String getObjectKey()
      Obtain the name of the object (destination object) involved in the multipart upload.
      覆盖:
      getObjectKey 在类中 BaseObjectRequest
      返回:
      Name of the object involved in the multipart upload
    • toString

      public String toString()
      覆盖:
      toString 在类中 BaseObjectRequest