com.aliyun.oss.model

## 类 CopyObjectResult

- java.lang.Object
- - com.aliyun.oss.model.GenericResult
  - - com.aliyun.oss.model.CopyObjectResult

-     public class CopyObjectResult
      extends GenericResult

  The result of copying an existing OSS object.

- - ### 构造器概要

    构造器
    构造器和说明
    `CopyObjectResult()` Constructor

  - ### 方法概要

    方法
    限定符和类型 | 方法和说明
    --- | ---
    `String` | `getETag()` Gets the target object's ETag.
    `Date` | `getLastModified()` Gets the last modified of target object.
    `String` | `getVersionId()` Gets the target object's version id.
    `void` | `setEtag(String etag)` Sets the target object's ETag (used by SDK only)
    `void` | `setLastModified(Date lastModified)` Sets the last modified time on the target object.
    `void` | `setVersionId(String versionId)` Sets the target object's version id (used by SDK only).

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

      `getClientCRC, getRequestId, getResponse, getServerCRC, setClientCRC, setRequestId, setResponse, setServerCRC`

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

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

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

    - #### CopyObjectResult

          public CopyObjectResult()

      Constructor

  - ### 方法详细资料

    - #### getETag

          public String getETag()

      Gets the target object's ETag.
      返回:
        Target object's ETag.

    - #### setEtag

          public void setEtag(String etag)

      Sets the target object's ETag (used by SDK only)
      参数:
        `etag` - Target object's ETag.

    - #### getLastModified

          public Date getLastModified()

      Gets the last modified of target object.
      返回:
        Target object's last modified.

    - #### setLastModified

          public void setLastModified(Date lastModified)

      Sets the last modified time on the target object.
      参数:
        `lastModified` - Target object's last modified time.

    - #### getVersionId

          public String getVersionId()

      Gets the target object's version id.
      返回:
        Target object's version id.

    - #### setVersionId

          public void setVersionId(String versionId)

      Sets the target object's version id (used by SDK only).
      参数:
        `versionId` - Target object's version id.

Copyright © 2020. All Rights Reserved.