com.obs.services.model

## 类 CopyObjectResult

- java.lang.Object
- - com.obs.services.internal.InternalHeaderResponse
  - - com.obs.services.model.HeaderResponse
    - - com.obs.services.model.CopyObjectResult

-     public class CopyObjectResult
      extends HeaderResponse

  Response to a request for copying an object

- - ### 字段概要

    - ### 从类继承的字段 com.obs.services.internal.InternalHeaderResponse

      `responseHeaders, statusCode`

  - ### 构造器概要

    构造器
    构造器和说明
    `CopyObjectResult(String etag, Date lastModified, String versionId, String copySourceVersionId, StorageClassEnum storageClass)`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `String` | `getCopySourceVersionId()` Obtain the version ID of the source object.
    `String` | `getEtag()` Obtain the ETag of the destination object.
    `Date` | `getLastModified()` Last modification time of the destination object
    `StorageClassEnum` | `getObjectStorageClass()` Obtain the storage class of the destination object.
    `String` | `getVersionId()` Obtain the version ID of the destination object.
    `String` | `toString()`

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

      `getRequestId, getResponseHeaders, getStatusCode`

    - ### 从类继承的方法 com.obs.services.internal.InternalHeaderResponse

      `setResponseHeaders, setStatusCode`

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

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

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

    - #### CopyObjectResult

          public CopyObjectResult(String etag,
                                  Date lastModified,
                                  String versionId,
                                  String copySourceVersionId,
                                  StorageClassEnum storageClass)

  - ### 方法详细资料

    - #### getEtag

          public String getEtag()

      Obtain the ETag of the destination object.
      返回:
        ETag value of the destination object

    - #### getLastModified

          public Date getLastModified()

      Last modification time of the destination object
      返回:
        Last modification time of the destination object

    - #### getVersionId

          public String getVersionId()

      Obtain the version ID of the destination object.
      返回:
        Version ID of the object

    - #### getCopySourceVersionId

          public String getCopySourceVersionId()

      Obtain the version ID of the source object.
      返回:
        Version ID of the object

    - #### getObjectStorageClass

          public StorageClassEnum getObjectStorageClass()

      Obtain the storage class of the destination object.
      返回:
        Object storage class

    - #### toString

          public String toString()

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

Copyright © 2021. All rights reserved.