类 RequestPaymentConfiguration


public class RequestPaymentConfiguration extends HeaderResponse
Configuration of the requester-pays function of a bucket
从以下版本开始:
3.20.3
  • 字段详细资料

  • 构造器详细资料

    • RequestPaymentConfiguration

      public RequestPaymentConfiguration(RequestPaymentEnum payer)
      Constructor
      参数:
      payer - Status of the requester-pays function
    • RequestPaymentConfiguration

      public RequestPaymentConfiguration()
  • 方法详细资料

    • 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)
      Configure the status of the requester-pays function.
      参数:
      payer - Status of the requester-pays function
    • toString

      public String toString()
      覆盖:
      toString 在类中 HeaderResponse