public class PartListing extends Object
Constructor and Description |
---|
PartListing() |
Modifier and Type | Method and Description |
---|---|
String |
getBucketName()
Returns the name of the bucket containing the listed parts, as specified
in the original request.
|
String |
getEncodingType()
Gets the encoding type used by Amazon S3 to encode object key names in
the XML response.
|
Owner |
getInitiator()
Returns details on the user who initiated the associated multipart
upload.
|
String |
getKey()
Returns the key value specified in the original request used to identify
which multipart upload contains the parts to list.
|
Integer |
getMaxParts()
Returns the optional max parts value specified in the original request to
limit how many parts are listed.
|
Integer |
getNextPartNumberMarker()
Returns the next part number marker.
|
Owner |
getOwner()
Returns details on the user who owns the associated multipart
upload.
|
Integer |
getPartNumberMarker()
Returns the optional part number marker specified in the original request
to specify where in the results to begin listing parts.
|
List<PartSummary> |
getParts()
Returns the list of parts described in this part listing.
|
String |
getStorageClass()
Returns the class of storage used for the parts in the associated
multipart upload.
|
String |
getUploadId()
Returns the upload ID value specified in the original request used to
identify which multipart upload contains the parts to list.
|
boolean |
isTruncated()
Returns whether or not this listing is truncated, and additional requests
need to be made to get more results.
|
void |
setBucketName(String bucketName)
Sets the name of the bucket containing the listed parts, as specified in
the original request.
|
void |
setEncodingType(String encodingType)
For internal use only.
|
void |
setInitiator(Owner initiator)
Sets the user who initiated the associated multipart upload.
|
void |
setKey(String key)
Sets the key value specified in the original request used to identify
which multipart upload contains the parts to list.
|
void |
setMaxParts(int maxParts)
Sets the optional max parts value specified in the original request to
limit how many parts are listed.
|
void |
setNextPartNumberMarker(int nextPartNumberMarker)
Sets the next part number marker.
|
void |
setOwner(Owner owner)
Sets the user who owns the associated multipart upload.
|
void |
setPartNumberMarker(int partNumberMarker)
Sets the optional part number marker specified in the original request to
specify where in the results to begin listing parts.
|
void |
setParts(List<PartSummary> parts)
Sets the list of parts described in this part listing.
|
void |
setStorageClass(String storageClass)
Sets the class of storage used for the parts in the associated multipart
upload.
|
void |
setTruncated(boolean isTruncated)
Sets whether or not this listing is truncated, and additional requests
need to be made to get more results.
|
void |
setUploadId(String uploadId)
Sets the upload ID value specified in the original request used to
identify which multipart upload contains the parts to list.
|
public String getBucketName()
public void setBucketName(String bucketName)
bucketName
- the name of the bucket containing the listed parts, as
specified in the original request.public String getKey()
public void setKey(String key)
key
- the key value specified in the original request used to
identify which multipart upload contains the parts to list.public String getUploadId()
public void setUploadId(String uploadId)
uploadId
- the upload ID value specified in the original request used to
identify which multipart upload contains the parts to list.public Owner getOwner()
public void setOwner(Owner owner)
owner
- the user who owns the associated multipart upload.public Owner getInitiator()
public void setInitiator(Owner initiator)
initiator
- the user who initiated the associated multipart upload.public String getStorageClass()
public void setStorageClass(String storageClass)
storageClass
- The class of storage used for the parts in the associated
multipart upload.public Integer getPartNumberMarker()
public void setPartNumberMarker(int partNumberMarker)
partNumberMarker
- the optional part number marker specified in the original
request to specify where in the results to begin listing
parts.public Integer getNextPartNumberMarker()
public void setNextPartNumberMarker(int nextPartNumberMarker)
nextPartNumberMarker
- The next part number marker.public Integer getMaxParts()
public void setMaxParts(int maxParts)
maxParts
- The optional max parts value specified in the original request
to limit how many parts are listed.public String getEncodingType()
encodingType
request
parameter, Amazon S3 includes this element in the response, and returns
encoded key name values in the Key
element.Null
if encodingType
is not specified
in the request parameter.public void setEncodingType(String encodingType)
encodingType
- Null
if encodingType
is not
specified in the request parameter.public boolean isTruncated()
public void setTruncated(boolean isTruncated)
isTruncated
- whether or not this listing is truncated, and additional
requests need to be made to get more results.public List<PartSummary> getParts()
public void setParts(List<PartSummary> parts)
parts
- The list of parts described in this part listing.Copyright © 2014. All rights reserved.