public class PartListing extends GenericResult
构造器和说明 |
---|
PartListing() |
限定符和类型 | 方法和说明 |
---|---|
void |
addPart(PartSummary partSummary)
Adds a
PartSummary instance. |
String |
getBucketName()
Gets the
Bucket name. |
String |
getKey()
Gets the
OSSObject key. |
Integer |
getMaxParts()
Gets the max parts count to return, the value comes from
ListPartsRequest.getMaxParts() . |
Integer |
getNextPartNumberMarker()
Gets the next part number maker if there's remaining data left in the
server.
|
Integer |
getPartNumberMarker()
Gets the
ListPartsRequest.getPartNumberMarker() . |
List<PartSummary> |
getParts()
Gets the list of
PartSummary . |
String |
getStorageClass() |
String |
getUploadId()
Gets the multipart Upload ID.
|
boolean |
isTruncated()
Gets the flag of if the result is truncated.
|
void |
setBucketName(String bucketName)
Sets the
Bucket name. |
void |
setKey(String key)
Sets the
OSSObject key. |
void |
setMaxParts(int maxParts)
Sets the max parts count.
|
void |
setNextPartNumberMarker(int nextPartNumberMarker)
Sets the next part number maker if there's remaining data left in the
server.
|
void |
setPartNumberMarker(int partNumberMarker)
Sets the part number marker with
ListPartsRequest.getPartNumberMarker() . |
void |
setParts(List<PartSummary> parts)
Sets the list of
PartSummary . |
void |
setStorageClass(String storageClass) |
void |
setTruncated(boolean isTruncated)
Sets the flag of if the result is truncated.
|
void |
setUploadId(String uploadId)
Sets the multipart upload Id.
|
getClientCRC, getRequestId, getResponse, getServerCRC, setClientCRC, setRequestId, setResponse, setServerCRC
public void setBucketName(String bucketName)
Bucket
name.bucketName
- Bucket name.public String getUploadId()
public void setUploadId(String uploadId)
uploadId
- The multipart upload Id.public String getStorageClass()
public void setStorageClass(String storageClass)
public Integer getPartNumberMarker()
ListPartsRequest.getPartNumberMarker()
.public void setPartNumberMarker(int partNumberMarker)
ListPartsRequest.getPartNumberMarker()
.partNumberMarker
- Part number marker.public Integer getNextPartNumberMarker()
public void setNextPartNumberMarker(int nextPartNumberMarker)
nextPartNumberMarker
- The next part number marker.public Integer getMaxParts()
ListPartsRequest.getMaxParts()
.public void setMaxParts(int maxParts)
ListPartsRequest.getMaxParts()
).maxParts
- The max parts count.public boolean isTruncated()
public void setTruncated(boolean isTruncated)
isTruncated
- true: the result is truncated; false the result is not
truncated.public List<PartSummary> getParts()
PartSummary
.PartSummary
.public void setParts(List<PartSummary> parts)
PartSummary
.parts
- The list of PartSummary
.public void addPart(PartSummary partSummary)
PartSummary
instance.partSummary
- A PartSummary
instance.Copyright © 2019. All Rights Reserved.