## 类的使用
com.obs.services.model.RequestPaymentEnum

- 使用RequestPaymentEnum的程序包
  程序包 | 说明
  --- | ---
  com.obs.services |
  com.obs.services.model |

- - ### com.obs.services中RequestPaymentEnum的使用

    参数类型为RequestPaymentEnum的com.obs.services中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `HeaderResponse` | ObsClient.`setBucketRequestPayment(String bucketName, RequestPaymentEnum payer)`
    `HeaderResponse` | IObsClient.`setBucketRequestPayment(String bucketName, RequestPaymentEnum payer)` Configure the requester-pays function for a bucket.

  - ### com.obs.services.model中RequestPaymentEnum的使用

    返回RequestPaymentEnum的com.obs.services.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `RequestPaymentEnum` | RequestPaymentConfiguration.`getPayer()` Obtain the status of the requester-pays function.
    `RequestPaymentEnum` | SetBucketRequestPaymentRequest.`getPayer()` Obtain the status of the requester-pays function.
    `static RequestPaymentEnum` | RequestPaymentEnum.`getValueFromCode(String code)`
    `static RequestPaymentEnum` | RequestPaymentEnum.`valueOf(String name)` 返回带有指定名称的该类型的枚举常量。
    `static RequestPaymentEnum[]` | RequestPaymentEnum.`values()` 按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。

    参数类型为RequestPaymentEnum的com.obs.services.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | RequestPaymentConfiguration.`setPayer(RequestPaymentEnum payer)` Configure the status of the requester-pays function.
    `void` | SetBucketRequestPaymentRequest.`setPayer(RequestPaymentEnum payer)` Set the status of the requester-pays function.

    参数类型为RequestPaymentEnum的com.obs.services.model中的构造器
    构造器和说明
    `RequestPaymentConfiguration(RequestPaymentEnum payer)` Constructor
    `SetBucketRequestPaymentRequest(String bucketName, RequestPaymentEnum payer)`

Copyright © 2021. All rights reserved.