public class CompleteMultipartUploadRequest extends SCSWebServiceRequest
Required Parameters: BucketName, Key, UploadId, PartETags
构造器和说明 |
---|
CompleteMultipartUploadRequest(String bucketName,
String key,
String uploadId,
List<PartETag> partETags)
Constructs a new request to complete a multipart upload.
|
限定符和类型 | 方法和说明 |
---|---|
String |
getBucketName()
Returns the name of the bucket containing the multipart upload to
complete.
|
String |
getKey()
Returns the key under which the multipart upload to complete is stored.
|
List<PartETag> |
getPartETags()
Returns the list of part numbers and ETags that identify the individual
parts of the multipart upload to complete.
|
String |
getUploadId()
Returns the ID of the multipart upload to complete.
|
void |
setBucketName(String bucketName)
Sets the name of the bucket containing the multipart upload to complete.
|
void |
setKey(String key)
Sets the key under which the multipart upload to complete is stored.
|
void |
setPartETags(List<PartETag> partETags)
Sets the list of part numbers and ETags that identify the individual
parts of the multipart upload to complete.
|
void |
setUploadId(String uploadId)
Sets the ID of the multipart upload to complete.
|
CompleteMultipartUploadRequest |
withBucketName(String bucketName)
Sets the name of the bucket containing the multipart upload to complete,
and returns this updated CompleteMultipartUploadRequest so that
additional method calls can be chained together.
|
CompleteMultipartUploadRequest |
withKey(String key)
Sets the key under which the multipart upload to complete is stored, and
returns this updated CompleteMultipartUploadRequest object so that
additional method calls can be chained together.
|
CompleteMultipartUploadRequest |
withPartETags(Collection<UploadPartResult> uploadPartResultsCollection)
Sets the list of part numbers and ETags that identify the individual
parts of the multipart upload to complete based on the specified results
from part uploads.
|
CompleteMultipartUploadRequest |
withPartETags(List<PartETag> partETags)
Sets the list of part numbers and ETags that identify the individual
parts of the multipart upload to complete, and returns this updated
CompleteMultipartUploadRequest object so that additional method calls can be chained.
|
CompleteMultipartUploadRequest |
withPartETags(UploadPartResult... uploadPartResults)
Sets the list of part numbers and ETags that identify the individual
parts of the multipart upload to complete based on the specified results
from part uploads.
|
CompleteMultipartUploadRequest |
withUploadId(String uploadId)
Sets the ID of the multipart upload to complete, and returns this updated
CompleteMultipartUploadRequest object so that additional method calls can
be chained together.
|
public CompleteMultipartUploadRequest(String bucketName, String key, String uploadId, List<PartETag> partETags)
bucketName
- The name of the bucket containing the multipart upload to
complete.key
- The key of the multipart upload to complete.uploadId
- The ID of the multipart upload to complete.partETags
- The list of part numbers and ETags to use when completing the
multipart upload.public String getBucketName()
public void setBucketName(String bucketName)
bucketName
- The name of the bucket containing the multipart upload to
complete.public CompleteMultipartUploadRequest withBucketName(String bucketName)
bucketName
- The name of the bucket containing the multipart upload to
complete.public String getKey()
public void setKey(String key)
key
- The key under which the multipart upload to complete is
stored.public CompleteMultipartUploadRequest withKey(String key)
key
- The key under which the multipart upload to complete is
stored.public String getUploadId()
public void setUploadId(String uploadId)
uploadId
- The ID of the multipart upload to complete.public CompleteMultipartUploadRequest withUploadId(String uploadId)
uploadId
- The ID of the multipart upload to complete.public List<PartETag> getPartETags()
public void setPartETags(List<PartETag> partETags)
partETags
- The list of part numbers and ETags that identify the
individual parts of the multipart upload to complete.public CompleteMultipartUploadRequest withPartETags(List<PartETag> partETags)
partETags
- The list of part numbers and ETags that identify the
individual parts of the multipart upload to complete.public CompleteMultipartUploadRequest withPartETags(UploadPartResult... uploadPartResults)
uploadPartResults
- The list of results from the individual part uploads in the
multipart upload to complete.public CompleteMultipartUploadRequest withPartETags(Collection<UploadPartResult> uploadPartResultsCollection)
uploadPartResultsCollection
- The list of results from the individual part uploads in the
multipart upload to complete.Copyright © 2016. All rights reserved.