com.obs.services.model

## 类 BucketStoragePolicyConfiguration

- java.lang.Object
- - com.obs.services.internal.InternalHeaderResponse
  - - com.obs.services.model.HeaderResponse
    - - com.obs.services.model.BucketStoragePolicyConfiguration

-     public class BucketStoragePolicyConfiguration
      extends HeaderResponse

  Bucket storage policy

- - ### 字段概要

    - ### 从类继承的字段 com.obs.services.internal.InternalHeaderResponse

      `responseHeaders, statusCode`

  - ### 构造器概要

    构造器
    构造器和说明
    `BucketStoragePolicyConfiguration()`
    `BucketStoragePolicyConfiguration(StorageClassEnum storageClass)` Constructor
    `BucketStoragePolicyConfiguration(String storageClass)` 已过时。

  - ### 方法概要

    所有方法 实例方法 具体方法 已过时的方法
    限定符和类型 | 方法和说明
    --- | ---
    `StorageClassEnum` | `getBucketStorageClass()` Obtain the bucket storage class.
    `String` | `getStorageClass()` 已过时。
    `void` | `setBucketStorageClass(StorageClassEnum storageClass)` Set the bucket storage class.
    `void` | `setStorageClass(String storageClass)` 已过时。
    `String` | `toString()`

    - ### 从类继承的方法 com.obs.services.model.HeaderResponse

      `getRequestId, getResponseHeaders, getStatusCode`

    - ### 从类继承的方法 com.obs.services.internal.InternalHeaderResponse

      `setResponseHeaders, setStatusCode`

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

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

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

    - #### BucketStoragePolicyConfiguration

          @Deprecated
          public BucketStoragePolicyConfiguration(String storageClass)

      已过时。
      Constructor
      参数:
        `storageClass` - Bucket storage class

    - #### BucketStoragePolicyConfiguration

          public BucketStoragePolicyConfiguration(StorageClassEnum storageClass)

      Constructor
      参数:
        `storageClass` - Bucket storage class

    - #### BucketStoragePolicyConfiguration

          public BucketStoragePolicyConfiguration()

  - ### 方法详细资料

    - #### toString

          public String toString()

      覆盖:
        `toString` 在类中 `HeaderResponse`

    - #### getStorageClass

          @Deprecated
          public String getStorageClass()

      已过时。
      Obtain the bucket storage class.
      返回:
        storageClass Bucket storage class
      另请参阅:
        `getBucketStorageClass()`

    - #### setStorageClass

          @Deprecated
          public void setStorageClass(String storageClass)

      已过时。
      Set the bucket storage class.
      参数:
        `storageClass` - Bucket storage class
      另请参阅:
        `setBucketStorageClass(StorageClassEnum storageClass)`

    - #### getBucketStorageClass

          public StorageClassEnum getBucketStorageClass()

      Obtain the bucket storage class.
      返回:
        storageClass Bucket storage class

    - #### setBucketStorageClass

          public void setBucketStorageClass(StorageClassEnum storageClass)

      Set the bucket storage class.
      参数:
        `storageClass` - Bucket storage class

Copyright © 2021. All rights reserved.