java.lang.Object
cn.warpin.thirdPart.huawei.obs.obs.services.model.KeyAndVersion

public class KeyAndVersion extends Object
Information about the versioning object to be deleted
  • 字段详细资料

  • 构造器详细资料

    • 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