com.aliyun.oss.model

## 类 UserQos

- java.lang.Object
- - com.aliyun.oss.model.GenericResult
  - - com.aliyun.oss.model.UserQos

-     public class UserQos
      extends GenericResult

- - ### 构造器概要

    构造器
    构造器和说明
    `UserQos()`
    `UserQos(int storageCapacity)`

  - ### 方法概要

    方法
    限定符和类型 | 方法和说明
    --- | ---
    `int` | `getStorageCapacity()` Gets the bucket capacity in GB.
    `boolean` | `hasStorageCapacity()` Checks if the storage capacity is set.
    `void` | `setStorageCapacity(int storageCapacity)` Sets the bucket capacity in GB. -1 means unlimited capacity.

    - ### 从类继承的方法 com.aliyun.oss.model.GenericResult

      `getClientCRC, getRequestId, getResponse, getServerCRC, setClientCRC, setRequestId, setResponse, setServerCRC`

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

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

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

    - #### UserQos

          public UserQos()

    - #### UserQos

          public UserQos(int storageCapacity)

  - ### 方法详细资料

    - #### getStorageCapacity

          public int getStorageCapacity()

      Gets the bucket capacity in GB.
      返回:
        Bucket capacity

    - #### setStorageCapacity

          public void setStorageCapacity(int storageCapacity)

      Sets the bucket capacity in GB. -1 means unlimited capacity. Other negative number is not allowed.
      参数:
        `storageCapacity` - Storage capacity in GB.

    - #### hasStorageCapacity

          public boolean hasStorageCapacity()

      Checks if the storage capacity is set.
      返回:
        True:the storage capacity is set.

Copyright © 2020. All Rights Reserved.