Builder

class Builder

Properties

Link copied to clipboard

The name of the bucket.

Link copied to clipboard

Indicates the algorithm used to create the checksum for the request when you use the SDK. This header will not provide any additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum-<i>algorithm</i> or x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request.

Link copied to clipboard

Set this parameter to true to confirm that you want to remove your permissions to change this bucket policy in the future.

Link copied to clipboard

The MD5 hash of the request body.

Link copied to clipboard

The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).

Link copied to clipboard

The bucket policy as a JSON document.