com.aliyun.oss.model

## 类 ListPartsRequest

- java.lang.Object
- - com.aliyun.oss.model.WebServiceRequest
  - - com.aliyun.oss.model.GenericRequest
    - - com.aliyun.oss.model.ListPartsRequest

-     public class ListPartsRequest
      extends GenericRequest

  This is the request class to list parts of a ongoing multipart upload.

- - ### 字段概要

    - ### 从类继承的字段 com.aliyun.oss.model.WebServiceRequest

      `NOOP`

  - ### 构造器概要

    构造器
    构造器和说明
    `ListPartsRequest(String bucketName, String key, String uploadId)` Constructor

  - ### 方法概要

    方法
    限定符和类型 | 方法和说明
    --- | ---
    `String` | `getEncodingType()` Gets the encoding type of object names in response.
    `Integer` | `getMaxParts()` The max parts count to return.
    `Integer` | `getPartNumberMarker()` Gets the part number marker---the parts to return whose part number must be greater than this marker.
    `String` | `getUploadId()` Gets the upload Id.
    `void` | `setEncodingType(String encodingType)` Sets the encoding type of object names in response.
    `void` | `setMaxParts(int maxParts)` Sets the max parts count (optional).
    `void` | `setPartNumberMarker(Integer partNumberMarker)` Sets the part number marker---the parts to return whose part number must be greater than this marker.
    `void` | `setUploadId(String uploadId)` Sets the upload Id for the multipart upload.

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

      `getBucketName, getKey, getRequestPayer, getVersionId, setBucketName, setKey, setRequestPayer, setVersionId, withBucketName, withKey, withRequestPayer, withVersionId`

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

      `addAdditionalHeaderName, addHeader, addParameter, getAdditionalHeaderNames, getHeaders, getParameters, getProgressListener, isLogEnabled, setAdditionalHeaderNames, setHeaders, setLogEnabled, setParameters, setProgressListener, withProgressListener`

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

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

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

    - #### ListPartsRequest

          public ListPartsRequest(String bucketName,
                          String key,
                          String uploadId)

      Constructor
      参数:
        `bucketName` - Bucket name.
        `key` - Object key.
        `uploadId` - Mutlipart upload Id.

  - ### 方法详细资料

    - #### getUploadId

          public String getUploadId()

      Gets the upload Id.
      返回:
        The upload Id.

    - #### setUploadId

          public void setUploadId(String uploadId)

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

    - #### getMaxParts

          public Integer getMaxParts()

      The max parts count to return. By default it's 1000.
      返回:
        The max parts count.

    - #### setMaxParts

          public void setMaxParts(int maxParts)

      Sets the max parts count (optional). The default and max value is 1000.
      参数:
        `maxParts` - The max parts count.

    - #### getPartNumberMarker

          public Integer getPartNumberMarker()

      Gets the part number marker---the parts to return whose part number must be greater than this marker.
      返回:
        The part number marker.

    - #### setPartNumberMarker

          public void setPartNumberMarker(Integer partNumberMarker)

      Sets the part number marker---the parts to return whose part number must be greater than this marker.
      参数:
        `partNumberMarker` - The part number marker.

    - #### getEncodingType

          public String getEncodingType()

      Gets the encoding type of object names in response.
      返回:
        The encoding type of object names.

    - #### setEncodingType

          public void setEncodingType(String encodingType)

      Sets the encoding type of object names in response.
      参数:
        `encodingType` - The encoding type of object names. The valid values are 'null' or 'url'.

Copyright © 2020. All Rights Reserved.