类 BucketTagInfo.TagSet.Tag

java.lang.Object
com.obs.services.model.BucketTagInfo.TagSet.Tag
封闭类:
BucketTagInfo.TagSet

public static class BucketTagInfo.TagSet.Tag extends Object
Bucket tag
  • 构造器详细资料

    • Tag

      public Tag()
    • Tag

      public Tag(String key, String value)
      Constructor
      参数:
      key - Tag key
      value - Tag value
  • 方法详细资料

    • getKey

      public String getKey()
      Obtain the tag key.
      返回:
      Tag key
    • setKey

      public void setKey(String key)
      Set the tag key.
      参数:
      key - Tag key
    • getValue

      public String getValue()
      Obtain the tag value.
      返回:
      Tag value
    • setValue

      public void setValue(String value)
      Set the tag value.
      参数:
      value - Tag value
    • hashCode

      public int hashCode()
      覆盖:
      hashCode 在类中 Object
    • equals

      public boolean equals(Object obj)
      覆盖:
      equals 在类中 Object
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object