com.aliyun.oss.model

## 类 CompleteMultipartUploadRequest

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

-     public class CompleteMultipartUploadRequest
      extends GenericRequest

  The request class that is used to complete a multipart upload. It wraps all parameters needed to complete a multipart upload.

- - ### 字段概要

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

      `NOOP`

  - ### 构造器概要

    构造器
    构造器和说明
    `CompleteMultipartUploadRequest(String bucketName, String key, String uploadId, List<PartETag> partETags)` Constructor

  - ### 方法概要

    方法
    限定符和类型 | 方法和说明
    --- | ---
    `Callback` | `getCallback()`
    `CannedAccessControlList` | `getObjectACL()` Gets Object ACL。
    `List<PartETag>` | `getPartETags()` Gets the Etags of the parts.
    `String` | `getProcess()`
    `String` | `getUploadId()` Gets the multipart upload Id.
    `void` | `setCallback(Callback callback)`
    `void` | `setObjectACL(CannedAccessControlList cannedACL)` Sets Object ACL。
    `void` | `setPartETags(List<PartETag> partETags)` Sets the ETags of the parts.
    `void` | `setProcess(String process)`
    `void` | `setUploadId(String uploadId)` Sets the multipart upload Id.

    - ### 从类继承的方法 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`

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

    - #### CompleteMultipartUploadRequest

          public CompleteMultipartUploadRequest(String bucketName,
                                        String key,
                                        String uploadId,
                                        List<PartETag> partETags)

      Constructor
      参数:
        `bucketName` - Bucket name.
        `key` - Object key.
        `uploadId` - Mutlipart upload Id.
        `partETags` - The Etags for the parts.

  - ### 方法详细资料

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

    - #### getPartETags

          public List<PartETag> getPartETags()

      Gets the Etags of the parts.
      返回:
        A List of `PartETag`

    - #### setPartETags

          public void setPartETags(List<PartETag> partETags)

      Sets the ETags of the parts.
      参数:
        `partETags` - A list of `PartETag`

    - #### getObjectACL

          public CannedAccessControlList getObjectACL()

      Gets Object ACL。
      返回:
        Object ACL。

    - #### setObjectACL

          public void setObjectACL(CannedAccessControlList cannedACL)

      Sets Object ACL。
      参数:
        `cannedACL` - ACL。

    - #### getCallback

          public Callback getCallback()

    - #### setCallback

          public void setCallback(Callback callback)

    - #### getProcess

          public String getProcess()

    - #### setProcess

          public void setProcess(String process)

Copyright © 2020. All Rights Reserved.