public class ListPartsRequest extends GenericUploadRequest
Required Parameters: BucketName, Key, UploadId
trafficLimitBitPS| Constructor and Description |
|---|
ListPartsRequest(String bucketName,
String key,
String uploadId)
Constructs a new ListPartsRequest from the required parameters bucket
name, key and upload ID.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxParts()
Returns the optional maximum number of parts to be returned in the part listing.
|
int |
getPartNumberMarker()
Returns the optional part number marker indicating where in the results to being listing parts.
|
void |
setMaxParts(int maxParts)
Sets the optional maximum number of parts to be returned in the part listing.
|
void |
setPartNumberMarker(int partNumberMarker)
Sets the optional part number marker indicating where in the results to being listing parts.
|
ListPartsRequest |
withBucketName(String bucketName)
Sets the BucketName property for this request.
|
ListPartsRequest |
withKey(String key)
Sets the key of the associated multipart upload whose parts are being
listed, and returns this updated ListPartsRequest object so that
additional method calls can be chained together.
|
ListPartsRequest |
withMaxParts(int maxParts)
Sets the optional maximum number of parts to be returned in the part
listing and returns this updated ListPartsRequest objects so that
additional method calls can be chained together.
|
ListPartsRequest |
withPartNumberMarker(int partNumberMarker)
Sets the optional part number marker indicating where in the results to
being listing parts, and returns this updated ListPartsRequest object so
that additional method calls can be chained together.
|
ListPartsRequest |
withRequestCredentials(BceCredentials credentials) |
ListPartsRequest |
withUploadId(String uploadId)
Sets the ID of the multipart upload whose parts are being listed, and
returns this updated ListPartsRequest object so that additional method
calls can be chained together.
|
getUploadId, setUploadIdgetKey, setKeygetBucketName, setBucketNamegetRequestCredentials, setRequestCredentialspublic ListPartsRequest(String bucketName, String key, String uploadId)
bucketName - The name of the bucket containing the parts to list.key - The key of the associated multipart upload whose parts are being listed.uploadId - The ID of the multipart upload whose parts are being listed.public ListPartsRequest withRequestCredentials(BceCredentials credentials)
withRequestCredentials in class AbstractBceRequestpublic ListPartsRequest withBucketName(String bucketName)
withBucketName in class GenericBucketRequestbucketName - The value that BucketName is set to.public ListPartsRequest withKey(String key)
withKey in class GenericObjectRequestkey - The key of the associated multipart upload whose parts are being listed.public ListPartsRequest withUploadId(String uploadId)
withUploadId in class GenericUploadRequestuploadId - The ID of the multipart upload whose parts are being listed.public int getMaxParts()
public void setMaxParts(int maxParts)
maxParts - The optional maximum number of parts to be returned in the part listing.public ListPartsRequest withMaxParts(int maxParts)
maxParts - The optional maximum number of parts to be returned in the part listing.public int getPartNumberMarker()
public void setPartNumberMarker(int partNumberMarker)
partNumberMarker - The optional part number marker indicating where in the results to being listing parts.public ListPartsRequest withPartNumberMarker(int partNumberMarker)
partNumberMarker - The optional part number marker indicating where in the results to being listing parts.Copyright © 2024. All rights reserved.