com.obs.services.model

## 类 MultipartUpload

- java.lang.Object
- - com.obs.services.model.MultipartUpload

-     public class MultipartUpload
      extends Object

  Multipart upload

- - ### 构造器概要

    构造器
    构造器和说明
    `MultipartUpload(String uploadId, String objectKey, Date initiatedDate, StorageClassEnum storageClass, Owner owner, Owner initiator)`
    `MultipartUpload(String uploadId, String bucketName, String objectKey, Date initiatedDate, StorageClassEnum storageClass, Owner owner, Owner initiator)`

  - ### 方法概要

    所有方法 实例方法 具体方法 已过时的方法
    限定符和类型 | 方法和说明
    --- | ---
    `String` | `getBucketName()` Obtain the name of the bucket to which the multipart upload belongs.
    `Date` | `getInitiatedDate()` Obtain the creation time of the multipart upload.
    `Owner` | `getInitiator()` Creator of the multipart upload
    `String` | `getObjectKey()` Obtain the name of the object involved in the multipart upload.
    `StorageClassEnum` | `getObjectStorageClass()` Obtain the storage class of the object generated via the multipart upload.
    `Owner` | `getOwner()` Query the creator of the multipart upload.
    `String` | `getStorageClass()` 已过时。
    `String` | `getUploadId()` Obtain the multipart upload ID.
    `void` | `setBucketName(String bucketName)`

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

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

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

    - #### MultipartUpload

          public MultipartUpload(String uploadId,
                                 String objectKey,
                                 Date initiatedDate,
                                 StorageClassEnum storageClass,
                                 Owner owner,
                                 Owner initiator)

    - #### MultipartUpload

          public MultipartUpload(String uploadId,
                                 String bucketName,
                                 String objectKey,
                                 Date initiatedDate,
                                 StorageClassEnum storageClass,
                                 Owner owner,
                                 Owner initiator)

  - ### 方法详细资料

    - #### getInitiator

          public Owner getInitiator()

      Creator of the multipart upload
      返回:
        Creator of the multipart upload

    - #### getOwner

          public Owner getOwner()

      Query the creator of the multipart upload.
      返回:
        Owner of the multipart upload

    - #### getUploadId

          public String getUploadId()

      Obtain the multipart upload ID.
      返回:
        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)

    - #### getObjectKey

          public String getObjectKey()

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

    - #### getStorageClass

          @Deprecated
          public String getStorageClass()

      已过时。
      Obtain the storage class of the object generated via the multipart upload.
      返回:
        Storage class of the object generated via the multipart upload

    - #### getObjectStorageClass

          public StorageClassEnum getObjectStorageClass()

      Obtain the storage class of the object generated via the multipart upload.
      返回:
        Storage class of the object generated via the multipart upload

    - #### getInitiatedDate

          public Date getInitiatedDate()

      Obtain the creation time of the multipart upload.
      返回:
        Creation time of the multipart upload

Copyright © 2021. All rights reserved.