类 ListPartsResponse

  • 所有已实现的接口:
    Serializable

    public class ListPartsResponse
    extends BosResponse
    The ListPartsResponse contains all the information about the ListParts method.
    另请参阅:
    序列化表格
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      String getBucketName()
      Returns the name of the bucket containing the listed parts, as specified in the original request.
      Date getInitiated()
      Returns the initiated time of the 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.
      int getNextPartNumberMarker()
      Returns the next part number marker.
      User getOwner()
      Returns details on the user who owns the associated multipart upload.
      int 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 storageClass.
      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 setInitiated​(Date initiated)
      Sets the initiated time of the 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​(User 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 storageClass.
      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.
    • 构造器详细资料

      • ListPartsResponse

        public ListPartsResponse()
    • 方法详细资料

      • 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.