com.obs.services.model

## 类 KeyAndVersion

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

-     public class KeyAndVersion
      extends Object

  Information about the versioning object to be deleted

- - ### 构造器概要

    构造器
    构造器和说明
    `KeyAndVersion(String key)` Constructor
    `KeyAndVersion(String key, String version)` Constructor

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `String` | `getKey()` Obtain the object name.
    `String` | `getVersion()` Obtain the object version ID.
    `void` | `setKey(String key)` Set the object name.
    `void` | `setVersion(String version)` Set the version ID of the object.
    `String` | `toString()`

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

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

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

    - #### KeyAndVersion

          public KeyAndVersion(String key,
                               String version)

      Constructor
      参数:
        `key` - Object name
        `version` - Version ID of the object

    - #### KeyAndVersion

          public KeyAndVersion(String key)

      Constructor
      参数:
        `key` - Object name

  - ### 方法详细资料

    - #### getKey

          public String getKey()

      Obtain the object name.
      返回:
        Object name

    - #### getVersion

          public String getVersion()

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

    - #### setKey

          public void setKey(String key)

      Set the object name.
      参数:
        `key` - Object name

    - #### setVersion

          public void setVersion(String version)

      Set the version ID of the object.
      参数:
        `version` - Version ID of the object

    - #### toString

          public String toString()

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

Copyright © 2021. All rights reserved.