com.aliyun.oss.model

## 类 PartListing

- java.lang.Object
- - com.aliyun.oss.model.GenericResult
  - - com.aliyun.oss.model.PartListing

-     public class PartListing
      extends GenericResult

  The entity class wraps the result of the list parts request.

- - ### 构造器概要

    构造器
    构造器和说明
    `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.

    - ### 从类继承的方法 com.aliyun.oss.model.GenericResult

      `getClientCRC, getRequestId, getResponse, getServerCRC, setClientCRC, setRequestId, setResponse, setServerCRC`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 构造器详细资料

    - #### PartListing

          public PartListing()

  - ### 方法详细资料

    - #### getBucketName

          public String getBucketName()

      Gets the `Bucket` name.
      返回:
        Bucket name.

    - #### setBucketName

          public void setBucketName(String bucketName)

      Sets the `Bucket` name.
      参数:
        `bucketName` - Bucket name.

    - #### getKey

          public String getKey()

      Gets the `OSSObject` key.
      返回:
        Object key。

    - #### setKey

          public void setKey(String key)

      Sets the `OSSObject` key.
      参数:
        `key` - Object key.

    - #### getUploadId

          public String getUploadId()

      Gets the multipart Upload ID.
      返回:
        The multipart upload Id.

    - #### setUploadId

          public void setUploadId(String uploadId)

      Sets the multipart upload Id.
      参数:
        `uploadId` - The multipart upload Id.

    - #### getStorageClass

          public String getStorageClass()

    - #### setStorageClass

          public void setStorageClass(String storageClass)

    - #### getPartNumberMarker

          public Integer getPartNumberMarker()

      Gets the `ListPartsRequest.getPartNumberMarker()`.
      返回:
        Part number marker.

    - #### setPartNumberMarker

          public void setPartNumberMarker(int partNumberMarker)

      Sets the part number marker with `ListPartsRequest.getPartNumberMarker()`.
      参数:
        `partNumberMarker` - Part number marker.

    - #### getNextPartNumberMarker

          public Integer getNextPartNumberMarker()

      Gets the next part number maker if there's remaining data left in the server.
      返回:
        The next part number.

    - #### setNextPartNumberMarker

          public void setNextPartNumberMarker(int nextPartNumberMarker)

      Sets the next part number maker if there's remaining data left in the server.
      参数:
        `nextPartNumberMarker` - The next part number marker.

    - #### getMaxParts

          public Integer getMaxParts()

      Gets the max parts count to return, the value comes from `ListPartsRequest.getMaxParts()`.
      返回:
        The max parts count.

    - #### setMaxParts

          public void setMaxParts(int maxParts)

      Sets the max parts count. The value comes from （ `ListPartsRequest.getMaxParts()`).
      参数:
        `maxParts` - The max parts count.

    - #### isTruncated

          public boolean isTruncated()

      Gets the flag of if the result is truncated. If there's data remaining in the server side, the flag is true.
      返回:
        true: the result is truncated; false the result is not truncated.

    - #### setTruncated

          public void setTruncated(boolean isTruncated)

      Sets the flag of if the result is truncated. If there's data remaining in the server side, the flag is true.
      参数:
        `isTruncated` - true: the result is truncated; false the result is not truncated.

    - #### getParts

          public List<PartSummary> getParts()

      Gets the list of `PartSummary`.
      返回:
        The list of `PartSummary`.

    - #### setParts

          public void setParts(List<PartSummary> parts)

      Sets the list of `PartSummary`.
      参数:
        `parts` - The list of `PartSummary`.

    - #### addPart

          public void addPart(PartSummary partSummary)

      Adds a `PartSummary` instance.
      参数:
        `partSummary` - A `PartSummary` instance.

Copyright © 2020. All Rights Reserved.