## 类 com.aliyun.oss.model.TagSet
的使用

- 使用TagSet的程序包
  程序包 | 说明
  --- | ---
  com.aliyun.oss |
  com.aliyun.oss.model |

- - ### com.aliyun.oss中TagSet的使用

    返回TagSet的com.aliyun.oss中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `TagSet` | OSSClient.`getBucketTagging(GenericRequest genericRequest)`
    `TagSet` | OSS.`getBucketTagging(GenericRequest genericRequest)` Gets the tags of `Bucket` instance.
    `TagSet` | OSSClient.`getBucketTagging(String bucketName)`
    `TagSet` | OSS.`getBucketTagging(String bucketName)` Gets all tags of the `Bucket` instance.
    `TagSet` | OSSClient.`getObjectTagging(GenericRequest genericRequest)`
    `TagSet` | OSS.`getObjectTagging(GenericRequest genericRequest)` Gets all tags of the OSS object.
    `TagSet` | OSSClient.`getObjectTagging(String bucketName, String key)`
    `TagSet` | OSS.`getObjectTagging(String bucketName, String key)` Gets all tags of the OSS object.

    参数类型为TagSet的com.aliyun.oss中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | OSSClient.`setBucketTagging(String bucketName, TagSet tagSet)`
    `void` | OSS.`setBucketTagging(String bucketName, TagSet tagSet)` Sets the tags on the `Bucket` instance.
    `void` | OSSClient.`setObjectTagging(String bucketName, String key, TagSet tagSet)`
    `void` | OSS.`setObjectTagging(String bucketName, String key, TagSet tagSet)` Sets the tags on the OSS object.

  - ### com.aliyun.oss.model中TagSet的使用

    声明为TagSet的com.aliyun.oss.model中的字段
    限定符和类型 | 字段和说明
    --- | ---
    `protected TagSet` | SetTaggingRequest.`tagSet`

    返回TagSet的com.aliyun.oss.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `TagSet` | SetTaggingRequest.`getTagSet()`

    参数类型为TagSet的com.aliyun.oss.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | SetTaggingRequest.`setTagSet(TagSet tagSet)`
    `SetObjectTaggingRequest` | SetObjectTaggingRequest.`withTagSet(TagSet tagSet)`
    `SetBucketTaggingRequest` | SetBucketTaggingRequest.`withTagSet(TagSet tagSet)`

    参数类型为TagSet的com.aliyun.oss.model中的构造器
    构造器和说明
    `SetBucketTaggingRequest(String bucketName, TagSet tagSet)`
    `SetObjectTaggingRequest(String bucketName, String key, TagSet tagSet)`
    `SetTaggingRequest(String bucketName, String key, TagSet tagSet)`

Copyright © 2020. All Rights Reserved.