com.obs.services.model

## 类 BucketTagInfo.TagSet

- java.lang.Object
- - com.obs.services.model.BucketTagInfo.TagSet

- 封闭类:
    BucketTagInfo

      public static class BucketTagInfo.TagSet
      extends Object

  Bucket tag set

- - ### 嵌套类概要

    嵌套类
    限定符和类型 | 类和说明
    --- | ---
    `static class` | `BucketTagInfo.TagSet.Tag` Bucket tag

  - ### 构造器概要

    构造器
    构造器和说明
    `TagSet()`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `BucketTagInfo.TagSet.Tag` | `addTag(String key, String value)` Add a tag.
    `List<BucketTagInfo.TagSet.Tag>` | `getTags()` Obtain the tag list.
    `BucketTagInfo.TagSet.Tag` | `removeTag(String key, String value)` Delete a tag.
    `BucketTagInfo.TagSet.Tag` | `removeTagByKey(String key)` Delete a tag.

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

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

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

    - #### TagSet

          public TagSet()

  - ### 方法详细资料

    - #### getTags

          public List<BucketTagInfo.TagSet.Tag> getTags()

      Obtain the tag list.
      返回:
        Tag list

    - #### addTag

          public BucketTagInfo.TagSet.Tag addTag(String key,
                                                 String value)

      Add a tag.
      参数:
        `key` - Tag key
        `value` - Tag value
      返回:
        Newly added tag

    - #### removeTag

          public BucketTagInfo.TagSet.Tag removeTag(String key,
                                                    String value)

      Delete a tag.
      参数:
        `key` - Tag key
        `value` - Tag value
      返回:
        Deleted tag

    - #### removeTagByKey

          public BucketTagInfo.TagSet.Tag removeTagByKey(String key)

      Delete a tag.
      参数:
        `key` - Tag key
      返回:
        Deleted tag

Copyright © 2021. All rights reserved.