|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.s3.model.ListPartsRequest
public class ListPartsRequest
Container for the the parameters of the ListParts operation.
Required Parameters: BucketName, Key, UploadId
AmazonS3.listParts(ListPartsRequest)
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 | |
---|---|
String |
getBucketName()
Returns the name of the bucket containing the multipart upload whose parts are being listed. |
String |
getKey()
Returns the key of the associated multipart upload whose parts are being listed. |
Integer |
getMaxParts()
Returns the optional maximum number of parts to be returned in the part listing. |
Integer |
getPartNumberMarker()
Returns the optional part number marker indicating where in the results to being listing parts. |
String |
getUploadId()
Returns the ID of the multipart upload whose parts are being listed. |
void |
setBucketName(String bucketName)
Sets the name of the bucket containing the multipart upload whose parts are being listed. |
void |
setKey(String key)
Sets the key of the associated multipart upload whose parts are being listed. |
void |
setMaxParts(int maxParts)
Sets the optional maximum number of parts to be returned in the part listing. |
void |
setPartNumberMarker(Integer partNumberMarker)
Sets the optional part number marker indicating where in the results to being listing parts. |
void |
setUploadId(String uploadId)
Sets the ID of the multipart upload whose parts are being listed. |
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(Integer 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 |
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.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
equals, 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 String getBucketName()
public void setBucketName(String bucketName)
bucketName
- The name of the bucket containing the multipart upload whose
parts are being listed.public ListPartsRequest withBucketName(String bucketName)
bucketName
- The value that BucketName is set to
public String getKey()
public void setKey(String key)
key
- The key of the associated multipart upload whose parts are
being listed.public ListPartsRequest withKey(String key)
key
- The key of the associated multipart upload whose parts are
being listed.
public String getUploadId()
public void setUploadId(String uploadId)
uploadId
- The ID of the multipart upload whose parts are being listed.public ListPartsRequest withUploadId(String uploadId)
uploadId
- The ID of the multipart upload whose parts are being listed.
public Integer 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 Integer getPartNumberMarker()
public void setPartNumberMarker(Integer partNumberMarker)
partNumberMarker
- The optional part number marker indicating where in the
results to being listing parts.public ListPartsRequest withPartNumberMarker(Integer 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 |