Class PutBucketRequestPaymentRequest
Container for the parameters to the PutBucketRequestPayment operation.
Sets the request payment configuration for a bucket. By default, the bucket owner pays for downloads from the bucket. This configuration parameter enables the bucket owner (only) to specify that the person requesting the download will be charged for the download.
public class PutBucketRequestPaymentRequest : AmazonWebServiceRequest
- Inheritance
-
PutBucketRequestPaymentRequest
Constructors
PutBucketRequestPaymentRequest()
public PutBucketRequestPaymentRequest()
Properties
BucketName
The name of the bucket to set payment config.
public string BucketName { get; set; }
Property Value
ChecksumAlgorithm
Gets and sets the property ChecksumAlgorithm.
Indicates the algorithm used to create the checksum for the object. Amazon S3 will fail the request with a 400 error if there is no checksum associated with the object. For more information, see Checking object integrity in the Amazon S3 User Guide.
public ChecksumAlgorithm ChecksumAlgorithm { get; set; }
Property Value
ExpectedBucketOwner
The account ID of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.
public string ExpectedBucketOwner { get; set; }
Property Value
RequestPaymentConfiguration
Gets and sets request payment configuration
public RequestPaymentConfiguration RequestPaymentConfiguration { get; set; }