com.obs.services.model

## 类 SetBucketRequestPaymentRequest

- java.lang.Object
- - com.obs.services.model.GenericRequest
  - - com.obs.services.model.BaseBucketRequest
    - - com.obs.services.model.SetBucketRequestPaymentRequest

-     public class SetBucketRequestPaymentRequest
      extends BaseBucketRequest

  Request for setting the requester-pays function for a bucket
  从以下版本开始:
    3.20.3

- - ### 构造器概要

    构造器
    构造器和说明
    `SetBucketRequestPaymentRequest()`
    `SetBucketRequestPaymentRequest(String bucketName, RequestPaymentEnum payer)`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `RequestPaymentEnum` | `getPayer()` Obtain the status of the requester-pays function.
    `void` | `setPayer(RequestPaymentEnum payer)` Set the status of the requester-pays function.
    `String` | `toString()`

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

      `getBucketName, setBucketName`

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

      `isRequesterPays, setRequesterPays`

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

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

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

    - #### SetBucketRequestPaymentRequest

          public SetBucketRequestPaymentRequest()

    - #### SetBucketRequestPaymentRequest

          public SetBucketRequestPaymentRequest(String bucketName,
                                                RequestPaymentEnum payer)

  - ### 方法详细资料

    - #### getPayer

          public RequestPaymentEnum getPayer()

      Obtain the status of the requester-pays function.
      返回:
        The status of the requester-pays function

    - #### setPayer

          public void setPayer(RequestPaymentEnum payer)

      Set the status of the requester-pays function.
      参数:
        `payer` - Status of the requester-pays function

    - #### toString

          public String toString()

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

Copyright © 2021. All rights reserved.