类 ListPartsResponse
- java.lang.Object
-
- com.baidubce.model.AbstractBceResponse
-
- com.baidubce.services.bos.model.BosResponse
-
- com.baidubce.services.bos.model.ListPartsResponse
-
- 所有已实现的接口:
Serializable
public class ListPartsResponse extends BosResponse
The ListPartsResponse contains all the information about the ListParts method.- 另请参阅:
- 序列化表格
-
-
字段概要
-
从类继承的字段 com.baidubce.model.AbstractBceResponse
metadata
-
-
构造器概要
构造器 构造器 说明 ListPartsResponse()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetBucketName()Returns the name of the bucket containing the listed parts, as specified in the original request.DategetInitiated()Returns the initiated time of the multipart upload.StringgetKey()Returns the key value specified in the original request used to identify which multipart upload contains the parts to list.IntegergetMaxParts()Returns the optional max parts value specified in the original request to limit how many parts are listed.intgetNextPartNumberMarker()Returns the next part number marker.UsergetOwner()Returns details on the user who owns the associated multipart upload.intgetPartNumberMarker()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.StringgetStorageClass()Returns the storageClass.StringgetUploadId()Returns the upload ID value specified in the original request used to identify which multipart upload contains the parts to list.booleanisTruncated()Returns whether or not this listing is truncated, and additional requests need to be made to get more results.voidsetBucketName(String bucketName)Sets the name of the bucket containing the listed parts, as specified in the original request.voidsetInitiated(Date initiated)Sets the initiated time of the multipart upload.voidsetKey(String key)Sets the key value specified in the original request used to identify which multipart upload contains the parts to list.voidsetMaxParts(int maxParts)Sets the optional max parts value specified in the original request to limit how many parts are listed.voidsetNextPartNumberMarker(int nextPartNumberMarker)Sets the next part number marker.voidsetOwner(User owner)Sets the user who owns the associated multipart upload.voidsetPartNumberMarker(int partNumberMarker)Sets the optional part number marker specified in the original request to specify where in the results to begin listing parts.voidsetParts(List<PartSummary> parts)Sets the list of parts described in this part listing.voidsetStorageClass(String storageClass)Sets the storageClass.voidsetTruncated(boolean isTruncated)Sets whether or not this listing is truncated, and additional requests need to be made to get more results.voidsetUploadId(String uploadId)Sets the upload ID value specified in the original request used to identify which multipart upload contains the parts to list.-
从类继承的方法 com.baidubce.services.bos.model.BosResponse
getMetadata
-
-
-
-
方法详细资料
-
getBucketName
public String getBucketName()
Returns the name of the bucket containing the listed parts, as specified in the original request.- 返回:
- the name of the bucket containing the listed parts, as specified in the original request.
-
setBucketName
public void setBucketName(String bucketName)
Sets the name of the bucket containing the listed parts, as specified in the original request.- 参数:
bucketName- the name of the bucket containing the listed parts, as specified in the original request.
-
getKey
public String getKey()
Returns the key value specified in the original request used to identify which multipart upload contains the parts to list.- 返回:
- the key value specified in the original request used to identify which multipart upload contains the parts to list.
-
setKey
public void setKey(String key)
Sets the key value specified in the original request used to identify which multipart upload contains the parts to list.- 参数:
key- the key value specified in the original request used to identify which multipart upload contains the parts to list.
-
getUploadId
public String getUploadId()
Returns the upload ID value specified in the original request used to identify which multipart upload contains the parts to list.- 返回:
- the upload ID value specified in the original request used to identify which multipart upload contains the parts to list.
-
setUploadId
public 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.- 参数:
uploadId- the upload ID value specified in the original request used to identify which multipart upload contains the parts to list.
-
getOwner
public User getOwner()
Returns details on the user who owns the associated multipart upload.- 返回:
- details on the user who owns the associated multipart upload.
-
setOwner
public void setOwner(User owner)
Sets the user who owns the associated multipart upload.- 参数:
owner- the user who owns the associated multipart upload.
-
getInitiated
public Date getInitiated()
Returns the initiated time of the multipart upload.- 返回:
- the initiated time of the multipart upload.
-
setInitiated
public void setInitiated(Date initiated)
Sets the initiated time of the multipart upload.- 参数:
initiated- the initiated time of the multipart upload.
-
getPartNumberMarker
public int getPartNumberMarker()
Returns the optional part number marker specified in the original request to specify where in the results to begin listing parts.- 返回:
- the optional part number marker specified in the original request to specify where in the results to begin listing parts.
-
setPartNumberMarker
public 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.- 参数:
partNumberMarker- the optional part number marker specified in the original request to specify where in the results to begin listing parts.
-
getNextPartNumberMarker
public int getNextPartNumberMarker()
Returns the next part number marker. If this listing is truncated, this is the part number marker that should be used in the next request to get the next page of results.- 返回:
- The next part number marker, to be used for pagination if this part listing is truncated.
-
setNextPartNumberMarker
public void setNextPartNumberMarker(int nextPartNumberMarker)
Sets the next part number marker. If this listing is truncated, this is the part number marker that should be used in the next request to get the next page of results.- 参数:
nextPartNumberMarker- The next part number marker.
-
getMaxParts
public Integer getMaxParts()
Returns the optional max parts value specified in the original request to limit how many parts are listed.- 返回:
- The optional max parts value specified in the original request to limit how many parts are listed.
-
setMaxParts
public void setMaxParts(int maxParts)
Sets the optional max parts value specified in the original request to limit how many parts are listed.- 参数:
maxParts- The optional max parts value specified in the original request to limit how many parts are listed.
-
isTruncated
public boolean isTruncated()
Returns whether or not this listing is truncated, and additional requests need to be made to get more results.- 返回:
- whether or not this listing is truncated, and additional requests need to be made to get more results.
-
setTruncated
public void setTruncated(boolean isTruncated)
Sets whether or not this listing is truncated, and additional requests need to be made to get more results.- 参数:
isTruncated- whether or not this listing is truncated, and additional requests need to be made to get more results.
-
getParts
public List<PartSummary> getParts()
Returns the list of parts described in this part listing.- 返回:
- The list of parts described in this part listing.
-
setParts
public void setParts(List<PartSummary> parts)
Sets the list of parts described in this part listing.- 参数:
parts- The list of parts described in this part listing.
-
getStorageClass
public String getStorageClass()
Returns the storageClass.- 返回:
- storageClass The StorageClass is an identification that distinguish between infrequent access bos and standard bos.
-
setStorageClass
public void setStorageClass(String storageClass)
Sets the storageClass.- 参数:
storageClass- The StorageClass is an identification that distinguish between infrequent access bos and standard bos.
-
-