com.aliyun.oss.model

## 类 BucketMetadata

- java.lang.Object
- - com.aliyun.oss.model.BucketMetadata

-     public class BucketMetadata
      extends Object

  OSS Bucket's metadata.

- - ### 构造器概要

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

  - ### 方法概要

    方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | `addHttpMetadata(String key, String value)` Add http metadata.
    `String` | `getBucketRegion()` Gets bucket region.
    `Map<String,String>` | `getHttpMetadata()` Gets the http metadata.
    `void` | `setBucketRegion(String bucketRegion)` Sets bucket region.

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

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

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

    - #### BucketMetadata

          public BucketMetadata()

  - ### 方法详细资料

    - #### getBucketRegion

          public String getBucketRegion()

      Gets bucket region.
      返回:
        bucket region.

    - #### setBucketRegion

          public void setBucketRegion(String bucketRegion)

      Sets bucket region. SDK uses.
      参数:
        `bucketRegion` - bucket Region.

    - #### addHttpMetadata

          public void addHttpMetadata(String key,
                             String value)

      Add http metadata.
      参数:
        `key` - The key of header.
        `value` - The value of the key.

    - #### getHttpMetadata

          public Map<String,String> getHttpMetadata()

      Gets the http metadata.
      返回:
        http metadata

Copyright © 2020. All Rights Reserved.