Scalr\Service\Aws\S3\DataType\BucketData::setRequestPayment PHP Метод

setRequestPayment() публичный Метод

This implementation of the PUT operation uses the requestPayment subresource to set the request payment configuration of a bucket.
public setRequestPayment ( string $requestPayment ) : boolean
$requestPayment string A XML Document which defines configuration
Результат boolean Returns true on succes or false if failure.
    public function setRequestPayment($requestPayment)
    {
        $this->throwExceptionIfNotInitialized();
        return $this->getS3()->bucket->setRequestPayment($this->bucketName, $requestPayment);
    }