com.obs.services.model

## 类 CompleteMultipartUploadRequest

- java.lang.Object
- - com.obs.services.model.GenericRequest
  - - com.obs.services.model.CompleteMultipartUploadRequest

-     public class CompleteMultipartUploadRequest
      extends GenericRequest

  Parameters in a request for combining parts

- - ### 构造器概要

    构造器
    构造器和说明
    `CompleteMultipartUploadRequest()`
    `CompleteMultipartUploadRequest(String bucketName, String objectKey, String uploadId, List<PartEtag> partEtag)` Constructor

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `String` | `getBucketName()` Obtain the name of the bucket to which the multipart upload belongs.
    `String` | `getObjectKey()` Obtain the name of the object involved in the multipart upload.
    `List<PartEtag>` | `getPartEtag()` Obtain the to-be-combined part list.
    `String` | `getUploadId()` Obtain the multipart upload ID.
    `void` | `setBucketName(String bucketName)` Set the name for the bucket to which the multipart upload belongs.
    `void` | `setObjectKey(String objectKey)` Set the name for the object involved in the multipart upload.
    `void` | `setPartEtag(List<PartEtag> partEtags)` Set the to-be-combined part list.
    `void` | `setUploadId(String uploadId)` Set the multipart upload ID.
    `String` | `toString()`

    - ### 从类继承的方法 com.obs.services.model.GenericRequest

      `isRequesterPays, setRequesterPays`

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

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

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

    - #### CompleteMultipartUploadRequest

          public CompleteMultipartUploadRequest()

    - #### CompleteMultipartUploadRequest

          public CompleteMultipartUploadRequest(String bucketName,
                                                String objectKey,
                                                String uploadId,
                                                List<PartEtag> partEtag)

      Constructor
      参数:
        `bucketName` - Bucket name
        `objectKey` - Object name
        `uploadId` - Multipart upload ID
        `partEtag` - List of parts to be combined

  - ### 方法详细资料

    - #### getUploadId

          public String getUploadId()

      Obtain the multipart upload ID.
      返回:
        Multipart upload ID

    - #### setUploadId

          public void setUploadId(String uploadId)

      Set the multipart upload ID.
      参数:
        `uploadId` - Multipart upload ID

    - #### getBucketName

          public String getBucketName()

      Obtain the name of the bucket to which the multipart upload belongs.
      返回:
        Name of the bucket to which the multipart upload belongs

    - #### setBucketName

          public void setBucketName(String bucketName)

      Set the name for the bucket to which the multipart upload belongs.
      参数:
        `bucketName` - Name of the bucket to which the multipart upload belongs

    - #### getObjectKey

          public String getObjectKey()

      Obtain the name of the object involved in the multipart upload.
      返回:
        Name of the object involved in the multipart upload

    - #### setObjectKey

          public void setObjectKey(String objectKey)

      Set the name for the object involved in the multipart upload.
      参数:
        `objectKey` - Name of the object involved in the multipart upload

    - #### getPartEtag

          public List<PartEtag> getPartEtag()

      Obtain the to-be-combined part list.
      返回:
        List of parts to be combined

    - #### setPartEtag

          public void setPartEtag(List<PartEtag> partEtags)

      Set the to-be-combined part list.
      参数:
        `partEtags` - List of parts to be combined

    - #### toString

          public String toString()

      覆盖:
        `toString` 在类中 `GenericRequest`

Copyright © 2021. All rights reserved.