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

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

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

    参数类型为Payer的com.aliyun.oss中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | OSSClient.`setBucketRequestPayment(String bucketName, Payer payer)`
    `void` | OSS.`setBucketRequestPayment(String bucketName, Payer payer)` Sets the request payment of the `Bucket`.

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

    返回Payer的com.aliyun.oss.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `Payer` | SetBucketRequestPaymentRequest.`getPayer()`
    `Payer` | GetBucketRequestPaymentResult.`getPayer()`
    `Payer` | UploadPartCopyRequest.`getRequestPayer()` * Gets the one who pays for the request
    `Payer` | HeadObjectRequest.`getRequestPayer()` * Gets the one who pays for the request
    `Payer` | GenericRequest.`getRequestPayer()` * Gets the one who pays for the request
    `Payer` | CopyObjectRequest.`getRequestPayer()` * Gets the one who pays for the request
    `static Payer` | Payer.`parse(String payer)`
    `static Payer` | Payer.`valueOf(String name)` 返回带有指定名称的该类型的枚举常量。
    `static Payer[]` | Payer.`values()` 按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。

    参数类型为Payer的com.aliyun.oss.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | SetBucketRequestPaymentRequest.`setPayer(Payer payer)`
    `void` | GetBucketRequestPaymentResult.`setPayer(Payer payer)`
    `void` | UploadPartCopyRequest.`setRequestPayer(Payer payer)` * Sets the one who pays for the request The Third party should set request payer when requesting resources.
    `void` | HeadObjectRequest.`setRequestPayer(Payer payer)` * Sets the one who pays for the request The Third party should set request payer when requesting resources.
    `void` | GenericRequest.`setRequestPayer(Payer payer)` * Sets the one who pays for the request The Third party should set request payer when requesting resources.
    `void` | CopyObjectRequest.`setRequestPayer(Payer payer)` * Sets the one who pays for the request The Third party should set request payer when requesting resources.
    `GenericRequest` | GenericRequest.`withRequestPayer(Payer payer)` * Sets the one who pays for the request The Third party should set request payer when requesting resources.

    参数类型为Payer的com.aliyun.oss.model中的构造器
    构造器和说明
    `SetBucketRequestPaymentRequest(String bucketName, Payer payer)`

Copyright © 2020. All Rights Reserved.