| 程序包 | 说明 |
|---|---|
| com.qcloud.cos | |
| com.qcloud.cos.model | |
| com.qcloud.cos.transfer |
| 限定符和类型 | 方法和说明 |
|---|---|
CopyPartResult |
COSClient.copyPart(CopyPartRequest copyPartRequest) |
CopyPartResult |
COS.copyPart(CopyPartRequest copyPartRequest)
Copies a source object to a part of a multipart upload.
|
| 限定符和类型 | 方法和说明 |
|---|---|
CopyPartRequest |
CopyPartRequest.withDestinationBucketName(String destinationBucketName)
Sets the name of the destination bucket which will contain the new, copied object and returns
this object, enabling additional method calls to be chained together.
|
CopyPartRequest |
CopyPartRequest.withDestinationKey(String destinationKey)
Sets the destination bucket key under which the new, copied object will be stored and returns
this object, enabling additional method calls can be chained together.
|
CopyPartRequest |
CopyPartRequest.withFirstByte(Long firstByte)
Sets the optional zero-based byte offset to begin copying the source object.
|
CopyPartRequest |
CopyPartRequest.withLastByte(Long lastByte)
Sets the optional zero-based byte offset to stop copying the source.
|
CopyPartRequest |
CopyPartRequest.withMatchingETagConstraint(String eTag)
Adds a single ETag constraint to this request and returns this object, enabling additional
method calls to be chained together.
|
CopyPartRequest |
CopyPartRequest.withMatchingETagConstraints(List<String> eTagList)
Fluent API for
setMatchingETagConstraints(List). |
CopyPartRequest |
CopyPartRequest.withModifiedSinceConstraint(Date date)
Sets the optional modified constraint that restricts this request to executing only if the
source object has been modified after the specified date.
|
CopyPartRequest |
CopyPartRequest.withNonmatchingETagConstraint(String eTag)
Adds a single ETag constraint to this request and returns this object, enabling additional
method calls to be chained together.
|
CopyPartRequest |
CopyPartRequest.withNonmatchingETagConstraints(List<String> eTagList)
Fluent API for
setNonmatchingETagConstraints(List). |
CopyPartRequest |
CopyPartRequest.withPartNumber(int partNumber)
Sets the part number describing this part's position relative to the other parts in the
multipart upload.
|
CopyPartRequest |
CopyPartRequest.withSourceAppid(String sourceAppid) |
CopyPartRequest |
CopyPartRequest.withSourceBucketName(String sourceBucketName)
Sets the name of the bucket containing the source object to be copied.
|
CopyPartRequest |
CopyPartRequest.withSourceBucketRegion(Region sourceBucketRegion) |
CopyPartRequest |
CopyPartRequest.withSourceKey(String sourceKey)
Sets the source bucket key under which the source object to be copied is stored.
|
CopyPartRequest |
CopyPartRequest.withSourceVersionId(String sourceVersionId)
Sets the optional version ID specifying which version of the source object to copy.
|
CopyPartRequest |
CopyPartRequest.withUnmodifiedSinceConstraint(Date date)
Sets the optional unmodified constraint that restricts this request to executing only if the
source object has not been modified after the specified date.
|
CopyPartRequest |
CopyPartRequest.withUploadId(String uploadId)
Sets the ID of the existing, initiated multipart upload with which this new part will be
associated.
|
| 限定符和类型 | 方法和说明 |
|---|---|
CopyPartRequest |
CopyPartRequestFactory.getNextCopyPartRequest()
Constructs a copy part requests and returns it.
|
| 构造器和说明 |
|---|
CopyPartCallable(COS cos,
CopyPartRequest request) |
Copyright © 2017. All rights reserved.