类 CopyPartRequest
java.lang.Object
cn.warpin.thirdPart.huawei.obs.obs.services.model.GenericRequest
cn.warpin.thirdPart.huawei.obs.obs.services.model.BaseObjectRequest
cn.warpin.thirdPart.huawei.obs.obs.services.model.AbstractMultipartRequest
cn.warpin.thirdPart.huawei.obs.obs.services.model.CopyPartRequest
Parameters in the request for copying a part
-
字段概要
字段修饰符和类型字段说明private Longprivate Longprivate Stringprivate Stringprivate intprivate Stringprivate Stringprivate SseCHeaderprivate SseCHeaderprivate String从类继承的字段 cn.warpin.thirdPart.huawei.obs.obs.services.model.AbstractMultipartRequest
uploadId从类继承的字段 cn.warpin.thirdPart.huawei.obs.obs.services.model.BaseObjectRequest
encodeHeaders, isIgnorePort, objectKey从类继承的字段 cn.warpin.thirdPart.huawei.obs.obs.services.model.GenericRequest
bucketName, httpMethod, userHeaders -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Obtain the name of the bucket (destination bucket) to which the multipart upload belongs.Obtain the end position for copying.Obtain the start position for copying.Obtain the name of the bucket (destination bucket) to which the multipart upload belongs.Obtain the name of the object (destination object) involved in the multipart upload.Obtain the name of the object (destination object) involved in the multipart upload.intObtain the part number of the to-be-copied part.Obtain the source bucket name.Obtain the source object name.Obtain SSE-C encryption headers of the destination object.Obtain SSE-C decryption headers of the source object.Obtain the version ID of the source object.voidsetBucketName(String bucketName) Set the name of the bucket (destination bucket) to which the multipart upload belongs.voidsetByteRangeEnd(Long byteRangeEnd) Set the end position for copying.voidsetByteRangeStart(Long byteRangeStart) Set the start position for copying.voidsetDestinationBucketName(String destBucketName) Set the name of the bucket (destination bucket) to which the multipart upload belongs.voidsetDestinationObjectKey(String destObjectKey) Set the name of the object (destination object) involved in the multipart upload.voidsetObjectKey(String objectKey) Obtain the name of the object (destination object) involved in the multipart upload.voidsetPartNumber(int partNumber) Set the part number of the to-be-copied part.voidsetSourceBucketName(String bucketName) Set the source bucket name.voidsetSourceObjectKey(String objectKey) Set the source object name.voidsetSseCHeaderDestination(SseCHeader sseCHeaderDestination) Set SSE-C encryption headers for the destination object.voidsetSseCHeaderSource(SseCHeader sseCHeaderSource) Set SSE-C decryption headers of the source object.voidsetVersionId(String versionId) Set the version ID for the source object.toString()从类继承的方法 cn.warpin.thirdPart.huawei.obs.obs.services.model.AbstractMultipartRequest
getUploadId, setUploadId从类继承的方法 cn.warpin.thirdPart.huawei.obs.obs.services.model.BaseObjectRequest
getIsIgnorePort, isEncodeHeaders, setIsEncodeHeaders, setIsIgnorePort从类继承的方法 cn.warpin.thirdPart.huawei.obs.obs.services.model.GenericRequest
addUserHeaders, getHttpMethod, getUserHeaders, isRequesterPays, setRequesterPays, setUserHeaders
-
字段详细资料
-
sourceBucketName
-
sourceObjectKey
-
destinationBucketName
-
destinationObjectKey
-
byteRangeStart
-
byteRangeEnd
-
sseCHeaderSource
-
sseCHeaderDestination
-
versionId
-
partNumber
private int partNumber
-
-
构造器详细资料
-
CopyPartRequest
public CopyPartRequest() -
CopyPartRequest
public CopyPartRequest(String uploadId, String sourceBucketName, String sourceObjectKey, String destinationBucketName, String destinationObjectKey, int partNumber) Constructor- 参数:
uploadId- Multipart upload IDsourceBucketName- Source bucket namesourceObjectKey- Source object namedestinationBucketName- Destination bucket namedestinationObjectKey- Destination object namepartNumber- Part number
-
-
方法详细资料
-
getSseCHeaderSource
Obtain SSE-C decryption headers of the source object.- 返回:
- SSE-C decryption headers of the source object
-
setSseCHeaderSource
Set SSE-C decryption headers of the source object.- 参数:
sseCHeaderSource- SSE-C decryption headers of the source object
-
getSseCHeaderDestination
Obtain SSE-C encryption headers of the destination object.- 返回:
- SSE-C encryption headers of the destination object
-
setSseCHeaderDestination
Set SSE-C encryption headers for the destination object.- 参数:
sseCHeaderDestination- SSE-C encryption headers of the destination object
-
getByteRangeStart
Obtain the start position for copying.- 返回:
- Start position for copying
-
setByteRangeStart
Set the start position for copying.- 参数:
byteRangeStart- Start position for copying
-
getByteRangeEnd
Obtain the end position for copying.- 返回:
- End position for copying
-
setByteRangeEnd
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
Obtain the source bucket name.- 返回:
- Source bucket name
-
setSourceBucketName
Set the source bucket name.- 参数:
bucketName- Source bucket name
-
getSourceObjectKey
Obtain the source object name.- 返回:
- Source object name
-
setSourceObjectKey
Set the source object name.- 参数:
objectKey- Source object name
-
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
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
Obtain the name of the object (destination object) involved in the multipart upload.- 返回:
- Name of the object involved in the multipart upload
-
setDestinationObjectKey
Set the name of the object (destination object) involved in the multipart upload.- 参数:
destObjectKey- Name of the object involved in the multipart upload
-
getVersionId
Obtain the version ID of the source object.- 返回:
- Version ID of the source object
-
setVersionId
Set the version ID for the source object.- 参数:
versionId- Version ID of the source object
-
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
Set the name of the bucket (destination bucket) to which the multipart upload belongs.- 覆盖:
setBucketName在类中GenericRequest- 参数:
bucketName- Bucket namedestBucketName- Name of the bucket to which the multipart upload belongs
-
setObjectKey
Obtain the name of the object (destination object) involved in the multipart upload.- 覆盖:
setObjectKey在类中BaseObjectRequest- 参数:
objectKey- Object name
-
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
- 覆盖:
toString在类中BaseObjectRequest
-