public class UploadPartCopyRequest extends WebServiceRequest
NOOP
构造器和说明 |
---|
UploadPartCopyRequest() |
UploadPartCopyRequest(String sourceBucketName,
String sourceKey,
String targetBucketName,
String targetKey) |
UploadPartCopyRequest(String sourceBucketName,
String sourceKey,
String targetBucketName,
String targetKey,
String uploadId) |
UploadPartCopyRequest(String sourceBucketName,
String sourceKey,
String targetBucketName,
String targetKey,
String uploadId,
int partNumber,
Long beginIndex,
Long partSize) |
限定符和类型 | 方法和说明 |
---|---|
void |
clearMatchingETagConstraints() |
void |
clearNonmatchingETagConstraints() |
Long |
getBeginIndex() |
String |
getBucketName()
Gets the
Bucket name. |
String |
getKey()
Gets the
OSSObject key. |
List<String> |
getMatchingETagConstraints() |
String |
getMd5Digest()
Gets the part data's MD5 value.
|
Date |
getModifiedSinceConstraint() |
List<String> |
getNonmatchingEtagConstraints() |
int |
getPartNumber()
Gets the part number.
|
Long |
getPartSize()
Gets the part's data size in bytes.
|
Payer |
getRequestPayer()
*
Gets the one who pays for the request
|
String |
getSourceBucketName() |
String |
getSourceKey() |
String |
getSourceVersionId()
Gets the version ID specifying which version of the source object to
copy.
|
Date |
getUnmodifiedSinceConstraint() |
String |
getUploadId()
Gets the multipart upload Id.
|
void |
setBeginIndex(Long beginIndex) |
void |
setBucketName(String bucketName)
Sets the
Bucket name. |
void |
setKey(String key)
Sets the
OSSObject key. |
void |
setMatchingETagConstraints(List<String> matchingETagConstraints) |
void |
setMd5Digest(String md5Digest)
Sets the part data's MD5 value.
|
void |
setModifiedSinceConstraint(Date modifiedSinceConstraint) |
void |
setNonmatchingETagConstraints(List<String> nonmatchingEtagConstraints) |
void |
setPartNumber(int partNumber)
Sets the part number.
|
void |
setPartSize(Long partSize)
Sets the part's data size in bytes.
|
void |
setRequestPayer(Payer payer)
*
Sets the one who pays for the request
The Third party should set request payer when requesting resources.
|
void |
setSourceBucketName(String sourceBucketName) |
void |
setSourceKey(String sourceKey) |
void |
setSourceVersionId(String sourceVersionId)
Sets the optional version ID specifying which version of the source
object to copy.
|
void |
setUnmodifiedSinceConstraint(Date unmodifiedSinceConstraint) |
void |
setUploadId(String uploadId)
Sets the multipart upload Id.
|
public UploadPartCopyRequest()
public UploadPartCopyRequest(String sourceBucketName, String sourceKey, String targetBucketName, String targetKey)
public UploadPartCopyRequest(String sourceBucketName, String sourceKey, String targetBucketName, String targetKey, String uploadId)
public void setBucketName(String bucketName)
Bucket
name.bucketName
- Bucket name.public String getUploadId()
public void setUploadId(String uploadId)
uploadId
- The multipart upload Id.public int getPartNumber()
public void setPartNumber(int partNumber)
partNumber
- The part number.public Long getPartSize()
public void setPartSize(Long partSize)
partSize
- Part's data size in bytes.public String getMd5Digest()
public void setMd5Digest(String md5Digest)
md5Digest
- The part data's MD5 value.public String getSourceBucketName()
public void setSourceBucketName(String sourceBucketName)
public String getSourceKey()
public void setSourceKey(String sourceKey)
public void setRequestPayer(Payer payer)
Sets the one who pays for the request The Third party should set request payer when requesting resources.
payer
- The one who pays for the requestpublic Payer getRequestPayer()
Gets the one who pays for the request
public String getSourceVersionId()
Gets the version ID specifying which version of the source object to copy. If not specified, the most recent version of the source object will be copied.
Objects created before enabling versioning or when versioning is
suspended are given the default null
version ID (see
OSSConstants.NULL_VERSION_ID
). Note that the null
version ID is a valid version ID and is not the same as not having a
version ID.
For more information about enabling versioning for a bucket, see
OSS.setBucketVersioning(SetBucketVersioningRequest)
.
OSSConstants.NULL_VERSION_ID
,
CopyObjectRequest.setSourceVersionId(String sourceVersionId)
public void setSourceVersionId(String sourceVersionId)
Sets the optional version ID specifying which version of the source object to copy. If not specified, the most recent version of the source object will be copied.
Objects created before enabling versioning or when versioning is
suspended are given the default null
version ID (see
OSSConstants.NULL_VERSION_ID
). Note that the null
version ID is a valid version ID and is not the same as not having a
version ID.
For more information about enabling versioning for a bucket, see
OSS.setBucketVersioning(SetBucketVersioningRequest)
.
sourceVersionId
- The optional version ID specifying which version of the source
object to copy.public Long getBeginIndex()
public void setBeginIndex(Long beginIndex)
public void setMatchingETagConstraints(List<String> matchingETagConstraints)
public void clearMatchingETagConstraints()
public void setNonmatchingETagConstraints(List<String> nonmatchingEtagConstraints)
public void clearNonmatchingETagConstraints()
public Date getUnmodifiedSinceConstraint()
public void setUnmodifiedSinceConstraint(Date unmodifiedSinceConstraint)
public Date getModifiedSinceConstraint()
public void setModifiedSinceConstraint(Date modifiedSinceConstraint)
Copyright © 2019. All Rights Reserved.