public class ListPartsRequest extends BaseObjectRequest
encodeHeaders, objectKeybucketName, httpMethod, userHeaders| Constructor and Description |
|---|
ListPartsRequest() |
ListPartsRequest(String bucketName,
String objectKey)
Constructor
|
ListPartsRequest(String bucketName,
String objectKey,
String uploadId)
Constructor
|
ListPartsRequest(String bucketName,
String objectKey,
String uploadId,
Integer maxParts)
Constructor
|
ListPartsRequest(String bucketName,
String objectKey,
String uploadId,
Integer maxParts,
Integer partNumberMarker)
Constructor
|
ListPartsRequest(String bucketName,
String objectKey,
String uploadId,
Integer maxParts,
Integer partNumberMarker,
String encodingType)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getEncodingType()
Get encoding type to encode objectkeys
|
String |
getKey()
Deprecated.
|
Integer |
getMaxParts()
Obtain the maximum number of uploaded parts that can be listed.
|
Integer |
getPartNumberMarker()
Obtain the start position for listing parts.
|
String |
getUploadId()
Obtain the multipart upload ID.
|
void |
setEncodingType(String encodingType)
Set encoding type to encode objectkeys, the value could be url
|
void |
setKey(String objectKey)
Deprecated.
|
void |
setMaxParts(Integer maxParts)
Set the maximum number of uploaded parts that can be listed.
|
void |
setPartNumberMarker(Integer partNumberMarker)
Set the start position for listing parts.
|
void |
setUploadId(String uploadId)
Set the multipart upload ID.
|
String |
toString() |
getObjectKey, isEncodeHeaders, setIsEncodeHeaders, setObjectKeyaddUserHeaders, getBucketName, getHttpMethod, getUserHeaders, isRequesterPays, setBucketName, setRequesterPays, setUserHeaderspublic ListPartsRequest()
public ListPartsRequest(String bucketName, String objectKey)
bucketName - Name of the bucket to which the multipart upload belongsobjectKey - Name of the object involved in the multipart uploadpublic ListPartsRequest(String bucketName, String objectKey, String uploadId)
bucketName - Name of the bucket to which the multipart upload belongsobjectKey - Name of the object involved in the multipart uploaduploadId - Multipart upload IDpublic ListPartsRequest(String bucketName, String objectKey, String uploadId, Integer maxParts)
bucketName - Name of the bucket to which the multipart upload belongsobjectKey - Name of the object involved in the multipart uploaduploadId - Multipart upload IDmaxParts - Maximum number of uploaded parts that can be listedpublic ListPartsRequest(String bucketName, String objectKey, String uploadId, Integer maxParts, Integer partNumberMarker)
bucketName - Name of the bucket to which the multipart upload belongsobjectKey - Name of the object involved in the multipart uploaduploadId - Multipart upload IDmaxParts - Maximum number of uploaded parts that can be listedpartNumberMarker - Start position for listing partspublic ListPartsRequest(String bucketName, String objectKey, String uploadId, Integer maxParts, Integer partNumberMarker, String encodingType)
bucketName - Name of the bucket to which the multipart upload belongsobjectKey - Name of the object involved in the multipart uploaduploadId - Multipart upload IDmaxParts - Maximum number of uploaded parts that can be listedpartNumberMarker - Start position for listing partsencodingType - Use this encoding type to encode keys that contains invalid characters,
the value could be "url"@Deprecated public String getKey()
@Deprecated public void setKey(String objectKey)
public String getUploadId()
public void setUploadId(String uploadId)
uploadId - Multipart upload IDpublic Integer getMaxParts()
public void setMaxParts(Integer maxParts)
maxParts - Maximum number of uploaded parts that can be listedpublic Integer getPartNumberMarker()
public void setPartNumberMarker(Integer partNumberMarker)
partNumberMarker - Start position for listing partspublic void setEncodingType(String encodingType)
encodingType - encoding type for encodingpublic String getEncodingType()
public String toString()
toString in class BaseObjectRequestCopyright © 2021. All rights reserved.