|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.baidubce.model.AbstractBceRequest
com.baidubce.services.bos.model.GenericBucketRequest
com.baidubce.services.bos.model.GenericObjectRequest
com.baidubce.services.bos.model.GenericUploadRequest
com.baidubce.services.bos.model.ListPartsRequest
public class ListPartsRequest
Container for the the parameters of the ListParts operation.
Required Parameters: BucketName, Key, UploadId
Constructor Summary | |
---|---|
ListPartsRequest(String bucketName,
String key,
String uploadId)
Constructs a new ListPartsRequest from the required parameters bucket name, key and upload ID. |
Method Summary | |
---|---|
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. |
Methods inherited from class com.baidubce.services.bos.model.GenericUploadRequest |
---|
getUploadId, setUploadId |
Methods inherited from class com.baidubce.services.bos.model.GenericObjectRequest |
---|
getKey, setKey |
Methods inherited from class com.baidubce.services.bos.model.GenericBucketRequest |
---|
getBucketName, setBucketName |
Methods inherited from class com.baidubce.model.AbstractBceRequest |
---|
getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public 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.Method Detail |
---|
public ListPartsRequest withRequestCredentials(BceCredentials credentials)
withRequestCredentials
in class AbstractBceRequest
public ListPartsRequest withBucketName(String bucketName)
withBucketName
in class GenericBucketRequest
bucketName
- The value that BucketName is set to.
public ListPartsRequest withKey(String key)
withKey
in class GenericObjectRequest
key
- The key of the associated multipart upload whose parts are being listed.
public ListPartsRequest withUploadId(String uploadId)
withUploadId
in class GenericUploadRequest
uploadId
- 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |