com.aliyun.oss.model

## 类 DeleteVersionsResult.DeletedVersion

- java.lang.Object
- - com.aliyun.oss.model.DeleteVersionsResult.DeletedVersion

- 所有已实现的接口:
    Serializable
  封闭类:
    DeleteVersionsResult

      public static class DeleteVersionsResult.DeletedVersion
      extends Object
      implements Serializable

  A successfully deleted object.
  另请参阅:
    序列化表格

- - ### 构造器概要

    构造器
    构造器和说明
    `DeleteVersionsResult.DeletedVersion()`

  - ### 方法概要

    方法
    限定符和类型 | 方法和说明
    --- | ---
    `String` | `getDeleteMarkerVersionId()` Returns the versionId for the delete marker that was created when doing a non-versioned delete in a versioned bucket.
    `String` | `getKey()` Returns the key that was successfully deleted.
    `String` | `getVersionId()` Returns the version deleted, or null for unversioned objects.
    `boolean` | `isDeleteMarker()` Returns whether the object deleted was a delete marker.
    `void` | `setDeleteMarker(boolean deleteMarker)`
    `void` | `setDeleteMarkerVersionId(String deleteMarkerVersionId)`
    `void` | `setKey(String key)`
    `void` | `setVersionId(String versionId)`

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

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

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

    - #### DeleteVersionsResult.DeletedVersion

          public DeleteVersionsResult.DeletedVersion()

  - ### 方法详细资料

    - #### getKey

          public String getKey()

      Returns the key that was successfully deleted.

    - #### setKey

          public void setKey(String key)

    - #### getVersionId

          public String getVersionId()

      Returns the version deleted, or null for unversioned objects.

    - #### setVersionId

          public void setVersionId(String versionId)

    - #### isDeleteMarker

          public boolean isDeleteMarker()

      Returns whether the object deleted was a delete marker.

    - #### setDeleteMarker

          public void setDeleteMarker(boolean deleteMarker)

    - #### getDeleteMarkerVersionId

          public String getDeleteMarkerVersionId()

      Returns the versionId for the delete marker that was created when doing a non-versioned delete in a versioned bucket.

    - #### setDeleteMarkerVersionId

          public void setDeleteMarkerVersionId(String deleteMarkerVersionId)

Copyright © 2020. All Rights Reserved.