public class CopyPartRequest extends AbstractMultipartRequest
uploadIdencodeHeaders, isIgnorePort, objectKeybucketName, cancelHandler, httpMethod, userHeaders| 构造器 | 说明 |
|---|---|
CopyPartRequest() |
|
CopyPartRequest(String uploadId,
String sourceBucketName,
String sourceObjectKey,
String destinationBucketName,
String destinationObjectKey,
int partNumber) |
Constructor
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
String |
getBucketName() |
Obtain the name of the bucket (destination bucket) to which the multipart
upload belongs.
|
Long |
getByteRangeEnd() |
Obtain the end position for copying.
|
Long |
getByteRangeStart() |
Obtain the start position for copying.
|
String |
getDestinationBucketName() |
Obtain the name of the bucket (destination bucket) to which the multipart
upload belongs.
|
String |
getDestinationObjectKey() |
Obtain the name of the object (destination object) involved in the
multipart upload.
|
String |
getObjectKey() |
Obtain the name of the object (destination object) involved in the
multipart upload.
|
int |
getPartNumber() |
Obtain the part number of the to-be-copied part.
|
String |
getSourceBucketName() |
Obtain the source bucket name.
|
String |
getSourceObjectKey() |
Obtain the source object name.
|
SseCHeader |
getSseCHeaderDestination() |
Obtain SSE-C encryption headers of the destination object.
|
SseCHeader |
getSseCHeaderSource() |
Obtain SSE-C decryption headers of the source object.
|
String |
getVersionId() |
Obtain the version ID of the source object.
|
void |
setBucketName(String bucketName) |
Set the name of the bucket (destination bucket) to which the multipart
upload belongs.
|
void |
setByteRangeEnd(Long byteRangeEnd) |
Set the end position for copying.
|
void |
setByteRangeStart(Long byteRangeStart) |
Set the start position for copying.
|
void |
setDestinationBucketName(String destBucketName) |
Set the name of the bucket (destination bucket) to which the multipart
upload belongs.
|
void |
setDestinationObjectKey(String destObjectKey) |
Set the name of the object (destination object) involved in the multipart
upload.
|
void |
setObjectKey(String objectKey) |
Obtain the name of the object (destination object) involved in the
multipart upload.
|
void |
setPartNumber(int partNumber) |
Set the part number of the to-be-copied part.
|
void |
setSourceBucketName(String bucketName) |
Set the source bucket name.
|
void |
setSourceObjectKey(String objectKey) |
Set the source object name.
|
void |
setSseCHeaderDestination(SseCHeader sseCHeaderDestination) |
Set SSE-C encryption headers for the destination object.
|
void |
setSseCHeaderSource(SseCHeader sseCHeaderSource) |
Set SSE-C decryption headers of the source object.
|
void |
setVersionId(String versionId) |
Set the version ID for the source object.
|
String |
toString() |
getUploadId, setUploadIdgetIsIgnorePort, isEncodeHeaders, setIsEncodeHeaders, setIsIgnorePortaddUserHeaders, getCancelHandler, getHttpMethod, getUserHeaders, isRequesterPays, setCancelHandler, setRequesterPays, setUserHeaderspublic CopyPartRequest()
public CopyPartRequest(String uploadId, String sourceBucketName, String sourceObjectKey, String destinationBucketName, String destinationObjectKey, int partNumber)
uploadId - Multipart upload IDsourceBucketName - Source bucket namesourceObjectKey - Source object namedestinationBucketName - Destination bucket namedestinationObjectKey - Destination object namepartNumber - Part numberpublic SseCHeader getSseCHeaderSource()
public void setSseCHeaderSource(SseCHeader sseCHeaderSource)
sseCHeaderSource - SSE-C decryption headers of the source objectpublic SseCHeader getSseCHeaderDestination()
public void setSseCHeaderDestination(SseCHeader sseCHeaderDestination)
sseCHeaderDestination - SSE-C encryption headers of the destination objectpublic Long getByteRangeStart()
public void setByteRangeStart(Long byteRangeStart)
byteRangeStart - Start position for copyingpublic Long getByteRangeEnd()
public void setByteRangeEnd(Long byteRangeEnd)
byteRangeEnd - End position for copyingpublic int getPartNumber()
public void setPartNumber(int partNumber)
partNumber - Part numberpublic String getSourceBucketName()
public void setSourceBucketName(String bucketName)
bucketName - Source bucket namepublic String getSourceObjectKey()
public void setSourceObjectKey(String objectKey)
objectKey - Source object namepublic String getDestinationBucketName()
public void setDestinationBucketName(String destBucketName)
destBucketName - Name of the bucket to which the multipart upload belongspublic String getDestinationObjectKey()
public void setDestinationObjectKey(String destObjectKey)
destObjectKey - Name of the object involved in the multipart uploadpublic String getVersionId()
public void setVersionId(String versionId)
versionId - Version ID of the source objectpublic String getBucketName()
getBucketName 在类中 GenericRequestpublic void setBucketName(String bucketName)
setBucketName 在类中 GenericRequestdestBucketName - Name of the bucket to which the multipart upload belongspublic void setObjectKey(String objectKey)
setObjectKey 在类中 BaseObjectRequestobjectKey - Object namepublic String getObjectKey()
getObjectKey 在类中 BaseObjectRequestpublic String toString()
toString 在类中 BaseObjectRequestCopyright © 2025. All rights reserved.